Skip to main content

admin_consent_request_policy

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

Overview

Nameadmin_consent_request_policy
TypeResource
Identra_id.policies.admin_consent_request_policy

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
isEnabledbooleanSpecifies whether the admin consent request feature is enabled or disabled. Required.
notifyReviewersbooleanSpecifies whether reviewers will receive notifications. Required.
remindersEnabledbooleanSpecifies whether reviewers will receive reminder emails. Required.
requestDurationInDaysnumber (int32)Specifies the duration the request is active before it automatically expires if no decision is applied.
reviewersarrayThe list of reviewers for the admin consent. Required.
versionnumber (int32)Specifies the version of this policy. When the policy is updated, this version is updated. Read-only.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectRead the properties and relationships of an adminConsentRequestPolicy object.
updateupdateUpdate the properties of an adminConsentRequestPolicy object.
deletedeleteIf-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 an adminConsentRequestPolicy object.

SELECT
id,
isEnabled,
notifyReviewers,
remindersEnabled,
requestDurationInDays,
reviewers,
version
FROM entra_id.policies.admin_consent_request_policy
;

UPDATE examples

Update the properties of an adminConsentRequestPolicy object.

UPDATE entra_id.policies.admin_consent_request_policy
SET
id = '{{ id }}',
isEnabled = {{ isEnabled }},
notifyReviewers = {{ notifyReviewers }},
remindersEnabled = {{ remindersEnabled }},
requestDurationInDays = {{ requestDurationInDays }},
reviewers = '{{ reviewers }}',
version = {{ version }}
RETURNING
id,
isEnabled,
notifyReviewers,
remindersEnabled,
requestDurationInDays,
reviewers,
version;

DELETE examples

No description available.

DELETE FROM entra_id.policies.admin_consent_request_policy
WHERE If-Match = '{{ If-Match }}'
;