Skip to main content

app_consent_app_consent_requests_user_consent_requests

Creates, updates, deletes, gets or lists an app_consent_app_consent_requests_user_consent_requests resource.

Overview

Nameapp_consent_app_consent_requests_user_consent_requests
TypeResource
Identra_id.identity_governance.app_consent_app_consent_requests_user_consent_requests

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
approvalApproval decisions associated with a request.
approvalIdstringThe identifier of the approval of the request.
completedDateTimestring (date-time)The request completion date time. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
createdByThe principal that created the request.
createdDateTimestring (date-time)The request creation date time. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
customDatastringFree text field to define any custom data for the request. Not used.
reasonstringThe user's justification for requiring access to the app. Supports $filter (eq only) and $orderby.
statusstringThe status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectapp_consent_request_id, user_consent_request_idRead the properties and relationships of a userConsentRequest object.
listselectapp_consent_request_idRetrieve a collection of userConsentRequest objects and their properties.
insertinsertapp_consent_request_id
updateupdateapp_consent_request_id, user_consent_request_id
deletedeleteapp_consent_request_id, user_consent_request_idIf-Match

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
If-MatchstringETag

SELECT examples

Read the properties and relationships of a userConsentRequest object.

SELECT
id,
approval,
approvalId,
completedDateTime,
createdBy,
createdDateTime,
customData,
reason,
status
FROM entra_id.identity_governance.app_consent_app_consent_requests_user_consent_requests
WHERE app_consent_request_id = '{{ app_consent_request_id }}' -- required
AND user_consent_request_id = '{{ user_consent_request_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.identity_governance.app_consent_app_consent_requests_user_consent_requests (
id,
approvalId,
completedDateTime,
createdBy,
createdDateTime,
customData,
status,
reason,
approval,
app_consent_request_id
)
SELECT
'{{ id }}',
'{{ approvalId }}',
'{{ completedDateTime }}',
'{{ createdBy }}',
'{{ createdDateTime }}',
'{{ customData }}',
'{{ status }}',
'{{ reason }}',
'{{ approval }}',
'{{ app_consent_request_id }}'
RETURNING
id,
approval,
approvalId,
completedDateTime,
createdBy,
createdDateTime,
customData,
reason,
status
;

UPDATE examples

No description available.

UPDATE entra_id.identity_governance.app_consent_app_consent_requests_user_consent_requests
SET
id = '{{ id }}',
approvalId = '{{ approvalId }}',
completedDateTime = '{{ completedDateTime }}',
createdBy = '{{ createdBy }}',
createdDateTime = '{{ createdDateTime }}',
customData = '{{ customData }}',
status = '{{ status }}',
reason = '{{ reason }}',
approval = '{{ approval }}'
WHERE
app_consent_request_id = '{{ app_consent_request_id }}' --required
AND user_consent_request_id = '{{ user_consent_request_id }}' --required
RETURNING
id,
approval,
approvalId,
completedDateTime,
createdBy,
createdDateTime,
customData,
reason,
status;

DELETE examples

No description available.

DELETE FROM entra_id.identity_governance.app_consent_app_consent_requests_user_consent_requests
WHERE app_consent_request_id = '{{ app_consent_request_id }}' --required
AND user_consent_request_id = '{{ user_consent_request_id }}' --required
AND If-Match = '{{ If-Match }}'
;