Skip to content

Delete an org from an org group

Request

OAuth 2.0 scope:
  • okta.accounts.manage

Deletes an org to an org group

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

The id of the Aerial account

groupIdstringrequired

The id of the org group

Bodyapplication/jsonrequired
orgIdstringrequired

The ID of the org

DELETE
/{accountId}/api/v1/orgGroups/{groupId}/orgs
curl -i -X DELETE \
  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}/orgs' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "orgId": "string"
  }'

Responses

No Content - The org group was successfully deleted

Response
No content