Skip to main content

StandardIamAccessPreviewRequest

assignmentIdstring<uuid>
assignmentKindStandardIamGroupAssignmentKind

Possible values: [ADDITIONAL_ACCESS, RESTRICTION]

expiresAtstring<date-time>
jobFunctionIdstring<uuid>
operationStandardIamAccessPreviewOperationrequired

Possible values: [ASSIGN_PRIMARY_JOB_FUNCTION, ASSIGN_ORGANIZATION_JOB_FUNCTION, ADD_GROUP_ASSIGNMENT, REMOVE_GROUP_ASSIGNMENT, REMOVE_ORGANIZATION_MEMBER, REMOVE_STORE_MEMBER, ARCHIVE_JOB_FUNCTION]

reasonstringrequired

Possible values: non-empty

replacementJobFunctionIdstring<uuid>
responsibilityKeysstring[]

Possible values: [resp.employee_self_service, resp.checkout, resp.cash_operations, resp.compliance_verification, resp.compliance_override, resp.refund_processing, resp.refund_approval, resp.discount_application, resp.inventory_viewing, resp.inventory_counting, resp.inventory_adjustment, resp.inventory_receiving, resp.inventory_transfers, resp.appointment_viewing, resp.appointment_operations, resp.team_scheduling, resp.staff_management, resp.store_administration, resp.store_ownership, resp.organization_membership, resp.organization_ownership]

scopeStandardIamScope

Possible values: [ORGANIZATION, STORE]

storeIdstring<uuid>
userIdstring<uuid>
StandardIamAccessPreviewRequest
{
"assignmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"assignmentKind": "ADDITIONAL_ACCESS",
"expiresAt": "2024-07-29T15:51:28.071Z",
"jobFunctionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"operation": "ASSIGN_PRIMARY_JOB_FUNCTION",
"reason": "string",
"replacementJobFunctionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"responsibilityKeys": [
"resp.employee_self_service"
],
"scope": "ORGANIZATION",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}