"Me" returns the authenticated user's permissions within the system. It provides a comprehensive view of access rules (roles, subjects and scope) assigned to the current user. For more information see Access control.
Retrieve the access rules assigned to the requesting user.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "accessRules": {
- "totalRecords": 1,
- "displayRecords": 1,
- "accessRules": [
- {
- "subjectId": "user@run.ai",
- "subjectType": "user",
- "roleId": 53142648,
- "scopeId": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "scopeType": "system",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "roleName": "admin",
- "scopeName": "tenant-x",
- "id": 32,
- "tenantId": 1001
}
]
}
}
Use to retrieve the number of access rules assigned to the requesting user.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "count": 1
}