v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-224341,4072.0 MB
AppAccessRequestDefaults

Create App Access Requests Defaults

Create or replace the access request default settings for an app.

post/api/v1/apps/{app_id}/access_request_defaults

Path parameters

app_idstring required

The app id for the app access request rule

Request body

catalogIdsstring[] nullable

The request catalog ids for the app access request rule.

defaultsEnabledboolean

If true the app level request configuration will be applied to specified resource types.

durationGrantstring duration
durationUnsetobject nullable
emergencyGrantEnabledboolean

If emergency grants are enabled for this app access request rule.

emergencyGrantPolicyIdstring

The policy id for the emergency grant policy.

requestPolicyIdstring

The ID of the request policy to apply to entitlements matching this rule.

requestSchemaIdstring

The ID of the request schema to apply to entitlements matching this rule.

resourceTypeIdsstring[] nullable

The app resource type ids for which the app access request defaults are applied.

state'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_UNSPECIFIED' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_RUNNING' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_SUCCESS' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_FAILED' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCELING' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_SUCCESS' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_ERROR'

The last applied state of the app access request defaults.

Response

Successful response

appIdstring

The app id for the app access request rule

catalogIdsstring[] nullable

The request catalog ids for the app access request rule.

defaultsEnabledboolean

If true the app level request configuration will be applied to specified resource types.

durationGrantstring duration
durationUnsetobject nullable
emergencyGrantEnabledboolean

If emergency grants are enabled for this app access request rule.

emergencyGrantPolicyIdstring

The policy id for the emergency grant policy.

requestPolicyIdstring

The ID of the request policy to apply to entitlements matching this rule.

requestSchemaIdstring

The ID of the request schema to apply to entitlements matching this rule.

resourceTypeIdsstring[] nullable

The app resource type ids for which the app access request defaults are applied.

state'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_UNSPECIFIED' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_RUNNING' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_SUCCESS' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_FAILED' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCELING' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_SUCCESS' | 'APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_ERROR'

The last applied state of the app access request defaults.