Skip to content

Retrieve an access request condition template

Request

OAuth 2.0 scope:
  • okta.accounts.read

Retrieves an access request condition template by templateId

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

The id of the Aerial account

templateIdstringrequired

The id of the access request condition template

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

Responses

Success

Bodyapplication/json
idstring

The ID of the access request condition template

resourcesArray of objects(resources)
applyStatusstringrequired
Enum:"APPLIED""APPLYING""ERROR""NOT_APPLIED""REMOVING""APPLIED_WITH_CHANGES"
requestConditionobject(request-condition-full)

A condition delineates the criteria governing access requests, specifying the requester's identity, the permitted access scope, and the manner in which access can be requested.

Response
{ "id": "020qqli3iolphlqkmrutpt8271c", "applyStatus": "APPLIED", "requestCondition": {} }