Request conditions define what resources and access levels requesters can request from their resource catalog.
Each request condition defines the following:
See Access request conditions for more information on Access request conditions and Identity Governance.
Access Requests Administrator
okta.accessRequests.condition.read
Lists request conditions for the resource specified by resourceId
A successful request condition list response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Basic request conditions that are returned from a get call
{- "data": [
- {
- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Default resource access",
- "description": "This is a condition for requesting default resource access, access duration settings are not defined here",
- "priority": 0,
- "status": "ACTIVE",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}, - {
- "id": "rcob0oNGTSWTBKOLPGRN",
- "name": "Group resource access",
- "description": "This is a condition for requesting access to a Group in the resource",
- "priority": 0,
- "status": "ACTIVE",
- "requesterSettings": {
- "type": "GROUPS"
}, - "accessScopeSettings": {
- "type": "GROUPS"
}, - "accessDurationSettings": {
- "type": "ADMIN_FIXED_DURATION",
- "duration": "P2W"
}, - "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLBTSA",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLBTSA",
- "_links": {
}
}, - {
- "id": "rcob0oNGTSWTBKOLPGRT",
- "name": "Requester specified access",
- "description": "This is a condition for requesting time bound access set by Requester for a resource",
- "priority": 0,
- "status": "ACTIVE",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "accessDurationSettings": {
- "type": "REQUESTER_SPECIFIED_DURATION",
- "maximumDuration": "P2W"
}, - "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLBTSA",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLBTSA",
- "_links": {
}
}
], - "_links": {
}
}
Access Requests Administrator
okta.accessRequests.condition.manage
Creates a request condition, which governs how a resource can be requested.
When creating a request condition, you specify:
resourceId
in path)accessScopeSettings
in request body)requesterSettings
in request body)approvalSequenceId
in request body)Any requesterSettings
, accessScopeSettings
in the update request body will be validated against the resource's current request settings.
Request conditions will have an inactive status after succesful creation.
A successful response for creating request condition
An invalid request to create a request type
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
A request condition allowing everyone to request permanent access to an application
{- "name": "Application | Permanent | Everyone",
- "description": "A request condition allowing everyone to request permanent access to an application",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "priority": 0
}
A request condition allowing everyone to request permanent access to an application
{- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Application | Permanent | Everyone",
- "description": "A request condition allowing everyone to request permanent access to an application",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "priority": 0,
- "status": "INACTIVE",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}
Access Requests Administrator
okta.accessRequests.condition.read
Retrieves a resource request condition
A successful resource request condition get response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Full representation of a request condition
{- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Default resource access",
- "description": "This is a condition for requesting default resource access",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "accessDurationSettings": {
- "type": "ADMIN_FIXED_DURATION",
- "duration": "P2W"
}, - "priority": 0,
- "status": "ACTIVE",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}
Access Requests Administrator
okta.accessRequests.condition.manage
Deletes a request condition
A successful request condition delete response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "errorCode": "E0000004",
- "errorSummary": "Authentication failed.",
- "errorLink": "E0000004",
- "errorId": "oaeWCGz73hpRCG75VHP6-RRXw",
- "errorCauses": [ ]
}
Access Requests Administrator
okta.accessRequests.condition.manage
Updates the request condition
Conditions can be updated while their status is ACTIVE, INACTIVE or INVALID.
An update will be rejected if it would lead to the condition entering an INVALID status.
While an update request body may not contain status
, a successful update request condition operation will always result in the condition entering ACTIVE or INACTIVE status.
Any requesterSettings
, accessScopeSettings
in the update request body will be validated against the resource's current request settings.
A successful request condition patch response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
A request condition allowing everyone to request permanent access to an application
{- "name": "Application | Permanent | Everyone",
- "description": "A request condition allowing everyone to request permanent access to an application",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "priority": 0
}
Full representation of a request condition
{- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Default resource access",
- "description": "This is a condition for requesting default resource access",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "accessDurationSettings": {
- "type": "ADMIN_FIXED_DURATION",
- "duration": "P2W"
}, - "priority": 0,
- "status": "ACTIVE",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}
Access Requests Administrator
okta.accessRequests.condition.manage
Activates the request condition
Conditions can be activated while their status is INACTIVE.
Activating a condition allows it to provide catalog entries to endusers.
A successful request condition activate response
When authentication fails
When authorization fails
When the requested resource was not found
A conflict request condition activate response
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
When request condition is INACTIVE, then the activate operation succeeds.
{- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Default resource access",
- "description": "This is a condition for requesting default resource access",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "accessDurationSettings": {
- "type": "ADMIN_FIXED_DURATION",
- "duration": "P2W"
}, - "priority": 0,
- "status": "ACTIVE",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}
Access Requests Administrator
okta.accessRequests.condition.manage
Deactivates the request condition
Conditions can be deactivated while their status is ACTIVE.
Deactivating a condition prevents the condition from providing catalog entries to endusers.
A successful request condition deactivate response
When authentication fails
When authorization fails
When the requested resource was not found
A conflict request condition deactivate response
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
When request condition is ACTIVE, then the deactivate operation succeeds.
{- "id": "rcob0oNGTSWTBKOLGLNR",
- "name": "Default resource access",
- "description": "This is a condition for requesting default resource access",
- "approvalSequenceId": "61eb0f06c462d20007f051ac",
- "requesterSettings": {
- "type": "EVERYONE"
}, - "accessScopeSettings": {
- "type": "RESOURCE_DEFAULT"
}, - "accessDurationSettings": {
- "type": "ADMIN_FIXED_DURATION",
- "duration": "P2W"
}, - "priority": 0,
- "status": "INACTIVE",
- "created": "2019-08-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "_links": {
}
}