GetUserGrantByID
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.
curl -X GET "https://loading/users/string/grants/string"{
"userGrant": {
"id": "string",
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"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"
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?