Okta for AI Agents
/Resource Servers
/- List all API servers
API Server Registrations
Register an API server
Retrieve an API server
Update an API server
Delete an API server
List all authorization servers for an API server
Add an authorization server to an API server
Retrieve an authorization server for an API server
Update an authorization server for an API server
Remove an authorization server from an API server
Activate an API server
Deactivate an API server
List all API servers
Lists all registered third-party API servers
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination and Link header.
Searches for API servers with a filtering expression. The expression supports the following operators and properties:
eqoperator for thestatuspropertysw,co, andeqoperator for themetadata.displayNameproperty
Note: This operation requires URL encoding. See Special characters.
Examples:
Filter by display name and status
search=metadata.displayName sw "Example" and status eq "ACTIVE"Filter by the associated app instance
search=metadata.app.orn eq "orn:okta:idp:00o1gjjp4jsdR3Sww4x7:apps:oidc_client:0oaACTOR0g4"- https://subdomain.okta.comhttps://subdomain.okta.com/resource-servers/api/v1/api-servers
curl -i -X GET \
'https://subdomain.okta.com/resource-servers/api/v1/api-servers?after=string&limit=20&search=metadata.displayName%20sw%20%22Example%22%20and%20status%20eq%20%22ACTIVE%22'OK
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "data": [ { … }, { … }, { … } ], "_links": { "self": { … }, "next": { … } } }