Okta Aerial
//
Change the status of an o...
OAuth 2.0 scope:
- okta.accounts.manage
Change the status of an org
Security
OAuth2(Required scopes: okta.accounts.manageokta.accounts.read)
- https://aerial-apac.okta.comhttps://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/status
curl -i -X PUT \
'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/status' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "INACTIVE"
}'Success
Response
{ "accountId": "0227mkkf8ulgt48bkidcd8ekqft", "name": "My Org 1", "cell": "ok1", "domain": "my-org-1.okta.com", "status": "INACTIVE", "aerialOrg": false, "createdDate": "2023-12-08T20:15:18.000Z", "id": "00o16fjDHCgFqob8n0g4" }