Skip to content

Requests to delete an org

Request

OAuth 2.0 scope:
  • okta.accounts.manage

Requests to delete an org You can only delete an org with a status of INACTIVE.

Note: This endpoint only deletes orgs in the Aerial Sandbox environment or if you are in the Okta Partner Program. Contact your account manager for more information.

Security
OAuth2(Required scopes: okta.accounts.manageokta.accounts.read)
Path
accountIdstringrequired

The id of the Aerial account

orgIdstringrequired

The id of the Okta Org

curl -i -X POST \
  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/deletionRequest' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
object
Response
{}