entitlement_management_access_package_assignment_approvals
Creates, updates, deletes, gets or lists an entitlement_management_access_package_assignment_approvals resource.
Overview
| Name | entitlement_management_access_package_assignment_approvals |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_access_package_assignment_approvals |
Fields
The following fields are returned by SELECT queries:
- get
- list
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
stages | array | A collection of stages in the approval decision. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
stages | array | A collection of stages in the approval decision. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | approval_id | Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request. In PIM for Groups, providing the identifier of the assignment schedule request. | |
list | select | Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request. In PIM for Groups, providing the identifier of the assignment schedule request. | ||
insert | insert | |||
update | update | approval_id | ||
delete | delete | approval_id | 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 |
|---|---|---|
approval_id | string | The unique identifier of approval |
If-Match | string | ETag |
SELECT examples
- get
- list
Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.
In PIM for Groups, providing the identifier of the assignment schedule request.
SELECT
id,
stages
FROM entra_id.identity_governance.entitlement_management_access_package_assignment_approvals
WHERE approval_id = '{{ approval_id }}' -- required
;
Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.
In PIM for Groups, providing the identifier of the assignment schedule request.
SELECT
id,
stages
FROM entra_id.identity_governance.entitlement_management_access_package_assignment_approvals
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.identity_governance.entitlement_management_access_package_assignment_approvals (
id,
stages
)
SELECT
'{{ id }}',
'{{ stages }}'
RETURNING
id,
stages
;
# Description fields are for documentation purposes
- name: entitlement_management_access_package_assignment_approvals
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: stages
description: |
A collection of stages in the approval decision.
value:
- id: "{{ id }}"
assignedToMe: {{ assignedToMe }}
displayName: "{{ displayName }}"
justification: "{{ justification }}"
reviewedBy: "{{ reviewedBy }}"
reviewedDateTime: "{{ reviewedDateTime }}"
reviewResult: "{{ reviewResult }}"
status: "{{ status }}"
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.entitlement_management_access_package_assignment_approvals
SET
id = '{{ id }}',
stages = '{{ stages }}'
WHERE
approval_id = '{{ approval_id }}' --required
RETURNING
id,
stages;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.entitlement_management_access_package_assignment_approvals
WHERE approval_id = '{{ approval_id }}' --required
AND If-Match = '{{ If-Match }}'
;