List My Authorizations / Role Assignments
Deprecated: List authorizations and pass the user ID filter with your users ID to search for your authorizations on granted and owned projects.
Returns a list of the authorizations/role assignments the authenticated user has. Role assignments consist of an organization, a project and 1-n roles.
Note: Authorization in this context refers to role assignments, not to OAuth authorization.
application/json- body
query?list limitations and ordering
Success
application/json- response
details?result?array<>curl -X POST 'https://example.com/auth/v1/usergrants/me/_search' \ -H 'Content-Type: application/json' \ -d '{}'{ "details": { "totalResult": 0, "processedSequence": 0, "viewTimestamp": "2023-01-15T01:30:15.01Z" }, "result": [ { "orgId": "string", "projectId": "string", "userId": "string", "roles": [ "string" ], "orgName": "string", "grantId": "string", "details": { "sequence": 0, "creationDate": "2023-01-15T01:30:15.01Z", "changeDate": "2023-01-15T01:30:15.01Z", "resourceOwner": "string" }, "orgDomain": "string", "projectName": "string", "projectGrantId": "string", "roleKeys": [ "string" ], "userType": "TYPE_UNSPECIFIED", "state": "USER_GRANT_STATE_UNSPECIFIED" } ]}Was this page helpful?
Healthz
Explore the Healthz operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
List My Project Roles
List My Project Roles: Deprecated: [List authorizations](/reference/api/authorization/zitadel.authorization.v2.AuthorizationService.ListAuthorizations) and pass the user ID filter with your users ID and the project ID fi...
