Skip to content

Retrieve Okta Aerial consent for your org

Request

OAuth 2.0 scope:
  • okta.orgs.manage
Admin roles:
  • SUPER_ADMIN

Retrieves the Okta Aerial consent grant details for your Org. Returns a 404 Not Found error if no consent has been granted.

curl -i -X GET \
  https://subdomain.okta.com/api/v1/org/privacy/aerial

Responses

Success

Bodyapplication/json
accountIdstringrequired

The unique ID of the Aerial account

grantedBystring

Principal ID of the user who granted the permission

Example:"00u23ej02I2RLFxS5406"
grantedDatestring

Date when grant was created

Example:"2024-07-24T16:01:13.000Z"
Response

Example response of consent details

{ "accountId": "0200bs0617vvhv2v675mch1cukp", "grantDate": "2023-04-06T21:32:33.000Z", "grantedBy": "00uabcdefg1234567890" }