Permission
Permission
Retrieves a list of all roles assigned to the specific user within the tenant.
Required access: Tenant.Admin
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a TenantUser.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
List of tenant user role assignments
List of tenant user role assignments
Assigns a new role to the user. Can be a tenant-wide role or scoped to a specific store.
Required access: Tenant.Admin
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a TenantUser.
^[A-Za-z0-9-_]+A tenantRole can be assigned at three levels:
- Only set a tenantRoleUid in the request: The role will be assigned at tenant level
- Set organizationUid and tenantRoleUid: The role will be assigned at organization level
- Set storeUid and tenantRoleUid: The role will be assigned at store level
An error occurs if both storeUid and organizationUid is set in the request.
The levels are ranked this way, from top to bottom: tenant, organization, store
A permission set at higher level overrides lower level assignments.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+Tenant user role assignment response
Tenant user role assignment response
Get a role assignment
Retrieves details of a specific role assignment.
Required access: Tenant.Admin
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a TenantUser.
^[A-Za-z0-9-_]+Reference to a TenantUserRoleAssignment.
^[A-Za-z0-9-_]+Tenant user role assignment response
Tenant user role assignment response
Remove a role assignment
Removes a specific role assignment from the user.
Required access: Tenant.Admin
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a TenantUser.
^[A-Za-z0-9-_]+Reference to a TenantUserRoleAssignment.
^[A-Za-z0-9-_]+Role assignment removed
Role assignment removed
No content
List tenant roles
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
Example response
Add new tenant role.
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+Example response
Example response
Get Tenant Role
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a tenantRole.
^[A-Za-z0-9-_]+Example response
Example response
Update Tenant Role
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a tenantRole.
^[A-Za-z0-9-_]+Example response
Example response
Delete Tenant Role
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a tenantRole.
^[A-Za-z0-9-_]+No Content
No Content
No content
Last updated