Skip to content

Account

Endpoints to manage and retrieve data related to the Aerial account

Retrieve an Aerial account

Request

OAuth 2.0 scope:
  • okta.accounts.read

Retrieves an Aerial account by accountId

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

The id of the Aerial account

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

Responses

Success

Bodyapplication/json
idstring, <= 30 charactersrequired

The ID of the Aerial account

namestring, <= 255 charactersrequired

The name of the Aerial account

Response
{ "id": "022ha15dpfc6e884cd3xrhn4259", "name": "My Account", "_links": { "accessPolicy": { … }, "accessRequestConditionsTemplate": { … } } }