Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Resource Server Management API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

Resource servers in ThunderID define the permission namespace for a protected API or service; resources and actions nested within them form the permission strings used in role assignments. Resources can be nested hierarchically, and permissions are derived from the handle-based path structure. Resource Server identifier is required and must be unique within the system. An MCP resource server's identifier must be an http or https URL with no fragment. Resource, and Action handles are unique under it's parent and are immutable after creation and used directly for permission derivation. Resource parent hierarchy is immutable after creation.

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize

1 scopes
ScopeDescription
systemAccess to system management APIs

clientCredentials flow, token URL https://localhost:8090/oauth2/token

1 scopes
ScopeDescription
systemAccess to system management APIs

Resource Servers​

Register and manage resource servers that define OAuth2 permission scopes.

List resource servers​

GET /resource-servers

Scopes: system

Parameters

NameInTypeRequiredDescription
limitqueryinteger

Maximum number of records to return

Default: 30

offsetqueryinteger

Number of records to skip for pagination

Default: 0

Responses

CodeDescriptionSchema
200

List of resource servers

ResourceServerListResponse
400

Bad request

Error
500

Internal server error

Error

Create a new resource server​

POST /resource-servers

Creates a new resource server with the specified details.

Scopes: system

Request body (required): application/json

Schema: CreateResourceServerRequest

6 properties
NameTypeRequiredDescription
namestringYes

Name of the resource server

descriptionstring

Optional description of the resource server

identifierstringYes

Unique identifier for this resource server. When set to an absolute URI, the resource server is used in RFC 8707 resource indicator flows and clients can use this value in the resource parameter to request audience-restricted access tokens. For an MCP resource server, the identifier must be an http or https URL with no fragment, such as https://mcp.example.com/mcp.

typestring

Optional immutable type of the resource server (metadata only). Defaults to CUSTOM when not provided.

Allowed values: API, MCP, CUSTOM

ouIdstring (uuid)Yes

ID of the organization unit this resource server belongs to

delimiterstring

Optional delimiter character for permission hierarchy (defaults to ":", immutable after creation)

Responses

CodeDescriptionSchema
201

Resource server created

ResourceServer
400

Bad request

Error
409

Conflict

Error
500

Internal server error

Error

Get resource server details​

GET /resource-servers/{id}

Returns resource server metadata

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resource server details

ResourceServer
400

Bad request

Error
404

Resource server not found

Error
500

Internal server error

Error

Update resource server​

PUT /resource-servers/{id}

Updates resource server name, description, identifier, and organization unit.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: UpdateResourceServerRequest

5 properties
NameTypeRequiredDescription
namestringYes

Name of the resource server

descriptionstring

Optional description of the resource server

identifierstring

Unique identifier for this resource server. When set to an absolute URI, the resource server is used in RFC 8707 resource indicator flows. When it changes on an MCP resource server, the new value must be an http or https URL with no fragment, such as https://mcp.example.com/mcp.

ouIdstring (uuid)Yes

ID of the organization unit this resource server belongs to

authorizationEngineAuthorizationEngineConfig

Authorization engine configuration for the resource server.

Responses

CodeDescriptionSchema
200

Resource server updated

ResourceServer
400

Bad request

Error
404

Resource server not found

Error
409

Conflict

Error
500

Internal server error

Error

Delete a resource server by id​

DEL /resource-servers/{id}

Deletes a resource server. Cannot delete if it has resources or actions.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Resource server deleted

400

Bad request

Error
500

Internal server error

Error

Resources​

Manage hierarchical resources within a resource server.

List resources in resource server​

GET /resource-servers/{rsId}/resources

Returns a paginated list of resources. Use the parentId parameter to filter:

  • No parentId: returns only top-level resources (where parent is null)
  • parentId={uuid}: returns direct children of specified parent

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

parentIdquerystring (uuid)

Parent resource ID to filter children.

  • Omit parameter: returns only top-level resources (parent is null)
  • UUID: returns direct children of that parent
limitqueryinteger

Maximum number of records to return

Default: 30

offsetqueryinteger

Number of records to skip for pagination

Default: 0

Responses

CodeDescriptionSchema
200

List of resources

ResourceListResponse
400

Bad request

Error
404

Resource server not found

Error
500

Internal server error

Error

Create a new resource​

POST /resource-servers/{rsId}/resources

Creates a new resource within the resource server. Handle is immutable and used for permissions. Parent is immutable after creation.

  • Set parent to null for top-level resources
  • Set parent to UUID for nested resources

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

Request body (required): application/json

Schema: CreateResourceRequest

4 properties
NameTypeRequiredDescription
namestringYes

Display name of the resource

handlestringYes

Immutable and unique under resource server or parent resource. Identifier used for permission derivation

descriptionstring

Optional description of the resource

parentstring (uuid)

Parent resource ID (null for top-level resources, immutable after creation)

Responses

CodeDescriptionSchema
201

Resource created

Resource
400

Bad request

Error
404

Resource server not found

Error
409

Conflict

Error
500

Internal server error

Error

Get resource details​

GET /resource-servers/{rsId}/resources/{id}

Returns resource metadata

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Resource ID

Responses

CodeDescriptionSchema
200

Resource details

Resource
400

Bad request

Error
404

Resource or resource server not found

Error
500

Internal server error

Error

Update resource​

PUT /resource-servers/{rsId}/resources/{id}

Updates resource name and description. Handle and parent are immutable after creation.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Resource ID

Request body (required): application/json

Schema: UpdateResourceRequest

2 properties
NameTypeRequiredDescription
namestring

Display name of the resource (mutable)

descriptionstring

Optional description of the resource

Responses

CodeDescriptionSchema
200

Resource updated

Resource
400

Bad request

Error
404

Resource or resource server not found

Error
500

Internal server error

Error

Delete a resource by id​

DEL /resource-servers/{rsId}/resources/{id}

Deletes a resource. Cannot delete if it has sub-resources or actions.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Resource ID

Responses

CodeDescriptionSchema
204

Resource deleted

400

Bad request

Error
500

Internal server error

Error

Actions​

Define actions on resources; actions map directly to OAuth2 scopes used in permission grants.

List actions at resource server level​

GET /resource-servers/{rsId}/actions

Returns all actions defined at the resource server level. Use the optional kind query parameter to filter to a specific MCP primitive type. Omitting kind returns all actions regardless of kind (the default, backward-compatible behavior).

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

kindquerystring

Filter actions by MCP primitive kind. Only tool and resource are valid values; any other value (including future kinds) results in a 400 response. Omit the parameter to return all actions regardless of kind.

Allowed values: tool, resource

limitqueryinteger

Maximum number of records to return

Default: 30

offsetqueryinteger

Number of records to skip for pagination

Default: 0

Responses

CodeDescriptionSchema
200

List of actions

ActionListResponse
400

Bad request

Error
404

Resource server not found

Error
500

Internal server error

Error

Create an action at resource server level​

POST /resource-servers/{rsId}/actions

Creates a new action at the resource server level. Handle is immutable and used for permissions.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

Request body (required): application/json

Schema: CreateActionRequest

4 properties
NameTypeRequiredDescription
namestringYes

Display name of the action

handlestringYes

Immutable and unique under resource server or resource. Identifier used for permission derivation. Maximum length is 100 characters.

descriptionstring

Optional description of the action

kindstring

MCP primitive kind. Optional for all resource server types; when provided it must be "tool" or "resource". For type=MCP it defaults to "tool" when omitted. For API and CUSTOM resource servers it is optional and, when omitted, stays empty. Immutable after creation; omit on update requests (kind cannot be changed).

Allowed values: tool, resource

Responses

CodeDescriptionSchema
201

Action created

Action
400

Bad request

Error
404

Resource server not found

Error
409

Conflict

Error
500

Internal server error

Error

Get action details at resource server level​

GET /resource-servers/{rsId}/actions/{id}

Returns action metadata

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Action ID

Responses

CodeDescriptionSchema
200

Action details

Action
400

Bad request

Error
404

Action or resource server not found

Error
500

Internal server error

Error

Update action at resource server level​

PUT /resource-servers/{rsId}/actions/{id}

Updates action name and description. Handle is immutable after creation.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Action ID

Request body (required): application/json

Schema: UpdateActionRequest

2 properties
NameTypeRequiredDescription
namestring

Display name of the action

descriptionstring

Optional description of the action

Responses

CodeDescriptionSchema
200

Action updated

Action
400

Bad request

Error
404

Action or resource server not found

Error
500

Internal server error

Error

Delete an action at resource server level​

DEL /resource-servers/{rsId}/actions/{id}

Deletes an action at the resource server level

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

idpathstring (uuid)Yes

Action ID

Responses

CodeDescriptionSchema
204

Action deleted

400

Bad request

Error
500

Internal server error

Error

List actions at resource level​

GET /resource-servers/{rsId}/resources/{resourceId}/actions

Returns all actions defined for a specific resource. Use the optional kind query parameter to filter to a specific MCP primitive type. Omitting kind returns all actions regardless of kind (the default, backward-compatible behavior).

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

resourceIdpathstring (uuid)Yes

Resource ID

kindquerystring

Filter actions by MCP primitive kind. Only tool and resource are valid values; any other value (including future kinds) results in a 400 response. Omit the parameter to return all actions regardless of kind.

Allowed values: tool, resource

limitqueryinteger

Maximum number of records to return

Default: 30

offsetqueryinteger

Number of records to skip for pagination

Default: 0

Responses

CodeDescriptionSchema
200

List of actions

ActionListResponse
400

Bad request

Error
404

Resource or resource server not found

Error
500

Internal server error

Error

Create an action at resource level​

POST /resource-servers/{rsId}/resources/{resourceId}/actions

Creates a new action for a specific resource. Handle is immutable and used for permissions.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

resourceIdpathstring (uuid)Yes

Resource ID

Request body (required): application/json

Schema: CreateActionRequest

4 properties
NameTypeRequiredDescription
namestringYes

Display name of the action

handlestringYes

Immutable and unique under resource server or resource. Identifier used for permission derivation. Maximum length is 100 characters.

descriptionstring

Optional description of the action

kindstring

MCP primitive kind. Optional for all resource server types; when provided it must be "tool" or "resource". For type=MCP it defaults to "tool" when omitted. For API and CUSTOM resource servers it is optional and, when omitted, stays empty. Immutable after creation; omit on update requests (kind cannot be changed).

Allowed values: tool, resource

Responses

CodeDescriptionSchema
201

Action created

Action
400

Bad request

Error
404

Resource or resource server not found

Error
409

Conflict

Error
500

Internal server error

Error

Get action details at resource level​

GET /resource-servers/{rsId}/resources/{resourceId}/actions/{id}

Returns action metadata

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

resourceIdpathstring (uuid)Yes

Resource ID

idpathstring (uuid)Yes

Action ID

Responses

CodeDescriptionSchema
200

Action details

Action
400

Bad request

Error
404

Action, resource, or resource server not found

Error
500

Internal server error

Error

Update action at resource level​

PUT /resource-servers/{rsId}/resources/{resourceId}/actions/{id}

Updates action name and description. Handle is immutable after creation.

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

resourceIdpathstring (uuid)Yes

Resource ID

idpathstring (uuid)Yes

Action ID

Request body (required): application/json

Schema: UpdateActionRequest

2 properties
NameTypeRequiredDescription
namestring

Display name of the action

descriptionstring

Optional description of the action

Responses

CodeDescriptionSchema
200

Action updated

Action
400

Bad request

Error
404

Action, resource, or resource server not found

Error
500

Internal server error

Error

Delete an action at resource level​

DEL /resource-servers/{rsId}/resources/{resourceId}/actions/{id}

Deletes an action for a specific resource

Scopes: system

Parameters

NameInTypeRequiredDescription
rsIdpathstring (uuid)Yes

Resource server ID

resourceIdpathstring (uuid)Yes

Resource ID

idpathstring (uuid)Yes

Action ID

Responses

CodeDescriptionSchema
204

Action deleted

400

Bad request

Error
500

Internal server error

Error

Schemas​

ResourceServer​

Type: object

9 properties
NameTypeRequiredDescription
idstring (uuid)Yes

Unique identifier for the resource server

namestringYes

Name of the resource server

descriptionstring

Optional description of the resource server

identifierstringYes

Unique identifier for this resource server. When set to an absolute URI, the resource server is used in RFC 8707 resource indicator flows and the identifier is used as the access token audience claim value. An MCP resource server's identifier must be an http or https URL with no fragment, such as https://mcp.example.com/mcp, when it is created or changed.

typestringYes

Immutable type of the resource server (metadata only). Defaults to CUSTOM when not provided at creation.

Allowed values: API, MCP, CUSTOM

ouIdstring (uuid)Yes

ID of the organization unit this resource server belongs to

delimiterstringYes

Character used to separate permission hierarchy levels (immutable after creation)

authorizationEngineAuthorizationEngineConfig

Authorization engine configuration for the resource server.

isReadOnlyboolean

Whether the resource server is read-only (system-managed)

CreateResourceServerRequest​

Type: object

6 properties
NameTypeRequiredDescription
namestringYes

Name of the resource server

descriptionstring

Optional description of the resource server

identifierstringYes

Unique identifier for this resource server. When set to an absolute URI, the resource server is used in RFC 8707 resource indicator flows and clients can use this value in the resource parameter to request audience-restricted access tokens. For an MCP resource server, the identifier must be an http or https URL with no fragment, such as https://mcp.example.com/mcp.

typestring

Optional immutable type of the resource server (metadata only). Defaults to CUSTOM when not provided.

Allowed values: API, MCP, CUSTOM

ouIdstring (uuid)Yes

ID of the organization unit this resource server belongs to

delimiterstring

Optional delimiter character for permission hierarchy (defaults to ":", immutable after creation)

UpdateResourceServerRequest​

Type: object

5 properties
NameTypeRequiredDescription
namestringYes

Name of the resource server

descriptionstring

Optional description of the resource server

identifierstring

Unique identifier for this resource server. When set to an absolute URI, the resource server is used in RFC 8707 resource indicator flows. When it changes on an MCP resource server, the new value must be an http or https URL with no fragment, such as https://mcp.example.com/mcp.

ouIdstring (uuid)Yes

ID of the organization unit this resource server belongs to

authorizationEngineAuthorizationEngineConfig

Authorization engine configuration for the resource server.

AuthorizationEngineConfig​

Type: object

Authorization engine configuration for the resource server.

3 properties
NameTypeRequiredDescription
typestring

Use local RBAC by default, or select an AuthZEN PDP for authorization decisions.

Allowed values: rbac, authzen_pdp. Default: rbac

propertiesobject
properties.pdpConnectionIdstring (uuid)

ID of the AuthZEN PDP connection to use.

Resource​

Type: object

6 properties
NameTypeRequiredDescription
idstring (uuid)Yes

Unique identifier for the resource

namestringYes

Display name of the resource

handlestringYes

Immutable and unique under resource server or parent resource. Identifier used for permission derivation

descriptionstring

Optional description of the resource

parentstring (uuid)

Parent resource ID. Absent for top-level resources (immutable after creation)

permissionstringYes

Derived permission string based on handle hierarchy

CreateResourceRequest​

Type: object

4 properties
NameTypeRequiredDescription
namestringYes

Display name of the resource

handlestringYes

Immutable and unique under resource server or parent resource. Identifier used for permission derivation

descriptionstring

Optional description of the resource

parentstring (uuid)

Parent resource ID (null for top-level resources, immutable after creation)

UpdateResourceRequest​

Type: object

2 properties
NameTypeRequiredDescription
namestring

Display name of the resource (mutable)

descriptionstring

Optional description of the resource

Action​

Type: object

6 properties
NameTypeRequiredDescription
idstring (uuid)Yes

Unique identifier for the action

namestringYes

Display name of the action

handlestringYes

Immutable and unique under resource server or resource. Identifier used for permission derivation

descriptionstring

Optional description of the action

permissionstringYes

Derived permission string based on handle hierarchy

kindstring

MCP primitive kind. "tool" represents a callable MCP tool (model-controlled); "resource" represents a read-only MCP resource (application-controlled). Always present for type=MCP actions (defaults to "tool" when omitted on create). For API and CUSTOM resource server actions it is present only when a kind was provided on create, otherwise omitted. Immutable after creation.

Allowed values: tool, resource

CreateActionRequest​

Type: object

4 properties
NameTypeRequiredDescription
namestringYes

Display name of the action

handlestringYes

Immutable and unique under resource server or resource. Identifier used for permission derivation. Maximum length is 100 characters.

descriptionstring

Optional description of the action

kindstring

MCP primitive kind. Optional for all resource server types; when provided it must be "tool" or "resource". For type=MCP it defaults to "tool" when omitted. For API and CUSTOM resource servers it is optional and, when omitted, stays empty. Immutable after creation; omit on update requests (kind cannot be changed).

Allowed values: tool, resource

UpdateActionRequest​

Type: object

2 properties
NameTypeRequiredDescription
namestring

Display name of the action

descriptionstring

Optional description of the action

ResourceServerListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Number of results that match the listing operation

startIndexinteger

Index of the first element of the page, which will be equal to offset + 1

countinteger

Number of elements in the returned page

resourceServersarray of ResourceServer
linksarray of Link

ResourceListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Number of results that match the listing operation

startIndexinteger

Index of the first element of the page, which will be equal to offset + 1

countinteger

Number of elements in the returned page

resourcesarray of Resource
linksarray of Link

ActionListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Number of results that match the listing operation

startIndexinteger

Index of the first element of the page, which will be equal to offset + 1

countinteger

Number of elements in the returned page

actionsarray of Action
linksarray of Link

Type: object

2 properties
NameTypeRequiredDescription
hrefstring
relstring

Error​

Type: object

3 properties
NameTypeRequiredDescription
codestringYes

Error code. Codes follow the RES-XXXX convention.

messageI18nMessageYes

Internationalized message with translation key and default value.

descriptionI18nMessage

Internationalized message with translation key and default value.

I18nMessage​

Type: object

Internationalized message with translation key and default value.

2 properties
NameTypeRequiredDescription
keystringYes

Translation key for fetching localized message.

defaultValuestringYes

Default message in English (fallback).

Was this page helpful?