API referenceOperators
create_resource
POST
/v1/operator/oauth/resourcesRequest body
application/json · ResourceSettings
| Field | Type | Required |
|---|---|---|
machine_access | boolean | No |
name | string | Yes |
scopes | array of ScopeDefinition | Yes |
tool_permissionsFor an MCP server: the permission each tool needs, by tool name. The resource's AuthZEN evaluation endpoint permits a `tools/call` only when the person holds that permission in the organization they approved, and refuses a tool missing from this map. | object | No |
uri | string | Yes |
Responses
| Status | Description | Body |
|---|---|---|
201 | Created | ResourceCreated application/json |
400 | Invalid request | ErrorBody application/json |
401 | Authentication required | ErrorBody application/json |
403 | Forbidden | ErrorBody application/json |
404 | Not found | ErrorBody application/json |
409 | Conflict | ErrorBody application/json |
413 | Request too large | ErrorBody application/json |
415 | JSON content type required | ErrorBody application/json |
500 | Internal error | ErrorBody application/json |
501 | Unsupported capability | ErrorBody application/json |
503 | Provider unavailable or request timed out | ErrorBody application/json |