admin_consent_request_policy
Creates, updates, deletes, gets or lists an admin_consent_request_policy resource.
Overview
| Name | admin_consent_request_policy |
| Type | Resource |
| Id | entra_id.policies.admin_consent_request_policy |
Fields
The following fields are returned by SELECT queries:
- get
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
isEnabled | boolean | Specifies whether the admin consent request feature is enabled or disabled. Required. |
notifyReviewers | boolean | Specifies whether reviewers will receive notifications. Required. |
remindersEnabled | boolean | Specifies whether reviewers will receive reminder emails. Required. |
requestDurationInDays | number (int32) | Specifies the duration the request is active before it automatically expires if no decision is applied. |
reviewers | array | The list of reviewers for the admin consent. Required. |
version | number (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Read the properties and relationships of an adminConsentRequestPolicy object. | ||
update | update | Update the properties of an adminConsentRequestPolicy object. | ||
delete | delete | If-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.
| Name | Datatype | Description |
|---|---|---|
If-Match | string | ETag |
SELECT examples
- get
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
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
- delete
No description available.
DELETE FROM entra_id.policies.admin_consent_request_policy
WHERE If-Match = '{{ If-Match }}'
;