Okta AuthorizationServer API

The AuthorizationServer API from Okta — 21 operation(s) for authorizationserver.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 38

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/authorizationServers List custom authorization servers · List authorization servers #
Ask an LLM
“Which custom authorization servers exist in my Okta org?”
“Can I search authorization servers by name and page through them?”
Tell an agent
List all my authorization servers.
Find authorization servers matching {q}, {limit} at a time.
POST /api/v1/authorizationServers Create a custom authorization server · Create authorization server #
Ask an LLM
“How do I set up a new custom OAuth authorization server?”
“What audience does a new authorization server need when I create it?”
Tell an agent
Create an authorization server named {name} for audience {audiences}.
Set up a new authorization server called {name} described as {description}.
GET /api/v1/authorizationServers/{authServerId} Get an authorization server's details · Get authorization server #
Ask an LLM
“What issuer and audience is a specific authorization server configured with?”
“Can I look up one authorization server by its ID?”
Tell an agent
Show me authorization server {authServerId}.
Get the issuer and status of authorization server {authServerId}.
PUT /api/v1/authorizationServers/{authServerId} Update an authorization server · Update authorization server #
Ask an LLM
“Can I change the name or audience of an existing authorization server?”
“How do I edit the issuer mode on an authorization server I already created?”
Tell an agent
Rename authorization server {authServerId} to {name}.
Change the audience of authorization server {authServerId} to {audiences}.
DELETE /api/v1/authorizationServers/{authServerId} Delete an authorization server · Delete authorization server #
Ask an LLM
“How do I permanently remove a custom authorization server?”
“What happens to an authorization server once I delete it?”
Tell an agent destructive · confirm first
Delete authorization server {authServerId}.
Permanently remove the authorization server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/claims List custom claims on an authorization server · List OAuth2 claims #
Ask an LLM
“Which custom token claims are defined on my authorization server?”
“What claims get added to tokens from a given authorization server?”
Tell an agent
List the claims on authorization server {authServerId}.
Show every token claim configured for authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/claims Add a custom token claim · Create OAuth2 claim #
Ask an LLM
“How do I add a custom claim to access or ID tokens?”
“Can a new claim be included in tokens even when not requested by scope?”
Tell an agent
Add claim {name} with value {value} to authorization server {authServerId}.
Create a {claimType} claim called {name} on authorization server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/claims/{claimId} Get a custom token claim · Get OAuth2 claim #
Ask an LLM
“What value expression does a particular claim use?”
“Can I view one claim's configuration on an authorization server?”
Tell an agent
Show claim {claimId} on authorization server {authServerId}.
Get the details of token claim {claimId} from server {authServerId}.
PUT /api/v1/authorizationServers/{authServerId}/claims/{claimId} Update a custom token claim · Update OAuth2 claim #
Ask an LLM
“Can I change the value expression of an existing claim?”
“How do I edit a claim already defined on my authorization server?”
Tell an agent
Change the value of claim {claimId} on server {authServerId} to {value}.
Rename claim {claimId} on authorization server {authServerId} to {name}.
DELETE /api/v1/authorizationServers/{authServerId}/claims/{claimId} Delete a custom token claim · Delete OAuth2 claim #
Ask an LLM
“How do I remove a claim so it stops appearing in tokens?”
“Is deleting a claim from an authorization server permanent?”
Tell an agent destructive · confirm first
Delete claim {claimId} from authorization server {authServerId}.
Remove the token claim {claimId} on server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/clients List clients using an authorization server · List OAuth2 clients for authorization server #
Ask an LLM
“Which OAuth client apps have tokens from my authorization server?”
“What clients are currently connected to a given authorization server?”
Tell an agent
List the OAuth clients for authorization server {authServerId}.
Show which apps hold grants from authorization server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens List a client's refresh tokens · List refresh tokens for authorization server and client #
Ask an LLM
“What refresh tokens has a client been issued by an authorization server?”
“Can I page through all refresh tokens for one OAuth client?”
Tell an agent
List refresh tokens for client {clientId} on server {authServerId}.
Show {limit} refresh tokens issued to client {clientId} by authorization server {authServerId}.
DELETE /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens Revoke all refresh tokens for a client · Revoke refresh tokens for authorization server and client #
Ask an LLM
“How do I revoke every refresh token a client holds on one authorization server?”
“Can I force an OAuth client to re-authenticate by killing all its refresh tokens?”
Tell an agent destructive · confirm first
Revoke all refresh tokens for client {clientId} on authorization server {authServerId}.
Kill every refresh token client {clientId} holds from server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId} Get one refresh token for a client · Get refresh token for authorization server and client #
Ask an LLM
“Can I inspect a single refresh token issued to a client?”
“What scopes and expiry does a specific refresh token have?”
Tell an agent
Show refresh token {tokenId} for client {clientId} on server {authServerId}.
Get details of token {tokenId} issued to client {clientId} by authorization server {authServerId}.
DELETE /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId} Revoke a single refresh token · Revoke refresh token for authorization server and client #
Ask an LLM
“How do I revoke just one refresh token without affecting the client's others?”
“Can a specific leaked refresh token be invalidated?”
Tell an agent destructive · confirm first
Revoke refresh token {tokenId} for client {clientId} on server {authServerId}.
Invalidate only token {tokenId} that authorization server {authServerId} issued to client {clientId}.
GET /api/v1/authorizationServers/{authServerId}/credentials/keys List an authorization server's signing keys · List authorization server keys #
Ask an LLM
“Which signing keys does my authorization server currently use?”
“Can I see the active and next keys for token signing?”
Tell an agent
List the signing keys for authorization server {authServerId}.
Show the credential keys of authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate Rotate an authorization server's signing keys · Rotate authorization server keys #
Ask an LLM
“How do I rotate the keys used to sign tokens?”
“Can I trigger a manual key rotation on an authorization server?”
Tell an agent
Rotate the signing keys on authorization server {authServerId}.
Rotate {use} keys for authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/lifecycle/activate Activate an authorization server · Activate authorization server #
Ask an LLM
“How do I turn an inactive authorization server back on?”
“Can a deactivated authorization server start issuing tokens again?”
Tell an agent
Activate authorization server {authServerId}.
Bring authorization server {authServerId} back online.
POST /api/v1/authorizationServers/{authServerId}/lifecycle/deactivate Deactivate an authorization server · Deactivate authorization server #
Ask an LLM
“How do I stop an authorization server from issuing tokens without deleting it?”
“What happens to apps when I deactivate an authorization server?”
Tell an agent destructive · confirm first
Deactivate authorization server {authServerId}.
Take authorization server {authServerId} offline.
GET /api/v1/authorizationServers/{authServerId}/policies List access policies on an authorization server · List authorization server policies #
Ask an LLM
“Which access policies are defined on my authorization server?”
“What policies control which clients get tokens?”
Tell an agent
List policies on authorization server {authServerId}.
Show the access policies for authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies Create an access policy · Create authorization server policy #
Ask an LLM
“How do I add an access policy that limits which clients get tokens?”
“Can I set the priority of a new policy on an authorization server?”
Tell an agent
Create a policy named {name} on authorization server {authServerId}.
Add access policy {name} with priority {priority} to server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/policies/{policyId} Get an access policy · Get authorization server policy #
Ask an LLM
“What conditions does a particular access policy apply?”
“Can I view one policy on an authorization server?”
Tell an agent
Show policy {policyId} on authorization server {authServerId}.
Get the conditions of access policy {policyId} on server {authServerId}.
PUT /api/v1/authorizationServers/{authServerId}/policies/{policyId} Update an access policy · Update authorization server policy #
Ask an LLM
“Can I change the name or priority of an existing access policy?”
“How do I edit the client conditions on a policy I already made?”
Tell an agent
Change the priority of policy {policyId} on server {authServerId} to {priority}.
Rename access policy {policyId} on authorization server {authServerId} to {name}.
DELETE /api/v1/authorizationServers/{authServerId}/policies/{policyId} Delete an access policy · Delete authorization server policy #
Ask an LLM
“How do I remove an access policy from my authorization server?”
“Does deleting a policy also remove its rules?”
Tell an agent destructive · confirm first
Delete policy {policyId} from authorization server {authServerId}.
Remove access policy {policyId} on server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate Activate an access policy · Activate authorization server policy #
Ask an LLM
“How do I turn on an inactive access policy?”
“Can I re-enable a policy I deactivated earlier?”
Tell an agent
Activate policy {policyId} on authorization server {authServerId}.
Turn on access policy {policyId} for server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate Deactivate an access policy · Deactivate authorization server policy #
Ask an LLM
“How do I temporarily disable an access policy without deleting it?”
“Can a policy be switched off while I troubleshoot token issues?”
Tell an agent destructive · confirm first
Deactivate policy {policyId} on authorization server {authServerId}.
Switch off access policy {policyId} for server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules List rules in an access policy · List authorization server policy rules #
Ask an LLM
“What rules make up an access policy?”
“Which grant types and scopes do a policy's rules allow?”
Tell an agent
List rules in policy {policyId} on server {authServerId}.
Show every rule of access policy {policyId} on authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules Add a rule to an access policy · Create authorization server policy rule #
Ask an LLM
“How do I add a rule that sets token lifetimes for a policy?”
“Can I create a rule restricting grant types within an access policy?”
Tell an agent
Add rule {name} to policy {policyId} on server {authServerId}.
Create a rule called {name} with priority {priority} in policy {policyId} of server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId} Get an access policy rule · Get authorization server policy rule #
Ask an LLM
“What token lifetimes does a specific policy rule set?”
“Can I see one rule's conditions and actions?”
Tell an agent
Show rule {ruleId} in policy {policyId} on server {authServerId}.
Get the actions of policy rule {ruleId} under policy {policyId}, server {authServerId}.
PUT /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId} Update an access policy rule · Update authorization server policy rule #
Ask an LLM
“Can I change the token lifetime on an existing policy rule?”
“How do I edit the conditions of a rule I already added?”
Tell an agent
Rename rule {ruleId} in policy {policyId} on server {authServerId} to {name}.
Change the actions of rule {ruleId} in policy {policyId}, server {authServerId}, to {actions}.
DELETE /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId} Delete an access policy rule · Delete authorization server policy rule #
Ask an LLM
“How do I remove a rule from an access policy?”
“Is a deleted policy rule recoverable?”
Tell an agent destructive · confirm first
Delete rule {ruleId} from policy {policyId} on server {authServerId}.
Remove policy rule {ruleId} under policy {policyId} of authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate Activate an access policy rule · Activate authorization server policy rule #
Ask an LLM
“How do I turn an inactive policy rule back on?”
“Can I re-enable one rule without touching the rest of the policy?”
Tell an agent
Activate rule {ruleId} in policy {policyId} on server {authServerId}.
Turn on policy rule {ruleId} under policy {policyId}, server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate Deactivate an access policy rule · Deactivate authorization server policy rule #
Ask an LLM
“How do I disable a single rule in an access policy?”
“Can one policy rule be switched off while the policy stays active?”
Tell an agent destructive · confirm first
Deactivate rule {ruleId} in policy {policyId} on server {authServerId}.
Switch off policy rule {ruleId} under policy {policyId}, server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/scopes List OAuth scopes on an authorization server · List OAuth2 scopes #
Ask an LLM
“Which OAuth scopes does my authorization server define?”
“Can I filter or search the scopes on an authorization server?”
Tell an agent
List scopes on authorization server {authServerId}.
Find scopes matching {q} on authorization server {authServerId}.
POST /api/v1/authorizationServers/{authServerId}/scopes Create an OAuth scope · Create OAuth2 scope #
Ask an LLM
“How do I add a new custom scope to my authorization server?”
“Can a new scope require user consent?”
Tell an agent
Create scope {name} on authorization server {authServerId}.
Add scope {name} described as {description} to server {authServerId}.
GET /api/v1/authorizationServers/{authServerId}/scopes/{scopeId} Get an OAuth scope · Get OAuth2 scope #
Ask an LLM
“Does a particular scope require consent or show in metadata?”
“Can I view a single scope's settings?”
Tell an agent
Show scope {scopeId} on authorization server {authServerId}.
Get the consent setting of scope {scopeId} on server {authServerId}.
PUT /api/v1/authorizationServers/{authServerId}/scopes/{scopeId} Update an OAuth scope · Update OAuth2 scope #
Ask an LLM
“Can I change the description or consent setting of an existing scope?”
“How do I rename a scope I already defined?”
Tell an agent
Change the description of scope {scopeId} on server {authServerId} to {description}.
Set consent on scope {scopeId} of authorization server {authServerId} to {consent}.
DELETE /api/v1/authorizationServers/{authServerId}/scopes/{scopeId} Delete an OAuth scope · Delete OAuth2 scope #
Ask an LLM
“How do I remove a custom scope from my authorization server?”
“Will clients still be able to request a scope after I delete it?”
Tell an agent destructive · confirm first
Delete scope {scopeId} from authorization server {authServerId}.
Remove OAuth scope {scopeId} on server {authServerId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/okta:okta-authorizationserver-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

okta-authorizationserver-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okta Authorization Server API
  description: Allows customers to easily access the Okta API
  termsOfService: https://developer.okta.com/terms/
  contact:
    name: Okta Developer Team
    url: https://developer.okta.com/
    email: devex-public@okta.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.16.0
servers:
- url: https://your-subdomain.okta.com/
tags:


# --- truncated at 32 KB (57 KB total) ---
# Full source: https://artifacts.apis.io/okta/openapi/okta-authorizationserver-api-openapi.yml