Open Enterprise
Browse topics
API referenceOperators

create_resource

POST/v1/operator/oauth/resources

Request body

application/json · ResourceSettings

FieldTypeRequired
machine_accessbooleanNo
namestringYes
scopesarray of ScopeDefinitionYes
tool_permissions

For 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.

objectNo
uristringYes

Responses

StatusDescriptionBody
201CreatedResourceCreated application/json
400Invalid requestErrorBody application/json
401Authentication requiredErrorBody application/json
403ForbiddenErrorBody application/json
404Not foundErrorBody application/json
409ConflictErrorBody application/json
413Request too largeErrorBody application/json
415JSON content type requiredErrorBody application/json
500Internal errorErrorBody application/json
501Unsupported capabilityErrorBody application/json
503Provider unavailable or request timed outErrorBody application/json

Search documentation