Get User Grant By ID
Deprecated: List authorizations and filter by its ID.
Returns a user grant per ID. A user grant is a role a user has for a specific project and organization.
Note: User grant refers to role assignments.
user_id*user_idgrant_id*grant_idSuccess
application/json- response
userGrant?User grant refers to role assignments, i.e., the roles users have for a specific project and organization.
curl -X GET 'https://example.com/management/v1/users/string/grants/string'{ "userGrant": { "id": "string", "details": { "sequence": 0, "creationDate": "2023-01-15T01:30:15.01Z", "changeDate": "2023-01-15T01:30:15.01Z", "resourceOwner": "string" }, "roleKeys": [ "string" ], "state": "USER_GRANT_STATE_UNSPECIFIED", "userId": "string", "userName": "string", "firstName": "string", "lastName": "string", "email": "string", "displayName": "string", "orgId": "string", "orgName": "string", "orgDomain": "string", "projectId": "string", "projectName": "string", "projectGrantId": "string", "avatarUrl": "string", "preferredLoginName": "string", "userType": "TYPE_UNSPECIFIED", "grantedOrgId": "string", "grantedOrgName": "string", "grantedOrgDomain": "string" }}Was this page helpful?
Get User Email (Human)
Get User Email (Human): Deprecated: use [user service v2 GetUserByID](/reference/api/user/zitadel.user.v2.UserService.GetUserByID) instead. Get the email address and the verification state of the address.
Get User Metadata By Key
Get User Metadata By Key: Deprecated: use [ListUserMetadata](/reference/api/user/zitadel.user.v2.UserService.ListUserMetadata) instead. Get a metadata object from a user by a specific key.
