Open Enterprise
Browse topics
API referenceOperators

update_resource

PUT/v1/operator/oauth/resources/{resource}

Parameters

NameLocationTypeRequired
resourcepathstringYes

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
200OKOAuthResource 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