Skip to content

Remove an authorization server from an MCP server

Request

Beta
OAuth 2.0 scope:
  • okta.resourceServers.mcpServers.manage
Admin roles:
  • SUPER_ADMIN

Removes an authorization server from a third-party Model Context Protocol (MCP) server. For OKTA authorization servers, only the association is removed, the Okta custom authorization server itself isn't deleted.

Path
mcpServerIdstringrequired

ID of an MCP server

Example:ems8nUa7p0g4zrZbs2f4
authorizationServerIdstringrequired

ID of an authorization server

Example:eas8nUa7p0g4zrZbs2f4
curl -i -X DELETE \
  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4/authorization-servers/eas8nUa7p0g4zrZbs2f4

Responses

Accepted

Headers
Locationstring, (uri)required

URL to poll for operation status. See Resource Server Operations.

Example:"https://{yourOktaDomain}/resource-servers/api/v1/operations/op-1a2b3c4d"
Response
No content