Skip to content
  • Auto
  • Light
  • Dark
Get Started

List

Get App Access Requests Defaults
get/api/v1/apps/{app_id}/access_request_defaults

Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.GetAppAccessRequestsDefaults method.

Path Parameters
app_idstring

The appId field.

Returns
appIdstringcatalogIdsarray of stringdefaultsEnabledbooleandurationGrantstringdurationUnsetunknownemergencyGrantEnabledbooleanemergencyGrantPolicyIdstringrequestPolicyIdstringresourceTypeIdsarray of stringstateenumC1APIAppV1AppAccessRequestDefaults
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/apps/$APP_ID/access_request_defaults \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "appId": "appId",
  "catalogIds": [
    "string"
  ],
  "defaultsEnabled": true,
  "durationGrant": "durationGrant",
  "durationUnset": {},
  "emergencyGrantEnabled": true,
  "emergencyGrantPolicyId": "emergencyGrantPolicyId",
  "requestPolicyId": "requestPolicyId",
  "resourceTypeIds": [
    "string"
  ],
  "state": "APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_UNSPECIFIED"
}