nokku.v1.PlanRevokeRequest
objectnokku.v1.PlanRevokeRequest
revokeobjectRequired
Whose grants go where. A server counts when its id is named or it has one of the tags. Only the subject's own grants go, what a team gives its members stays.
subjectobjectRequired
id?string <uuid>
kind?string
Enum:"SUBJECT_KIND_UNSPECIFIED""SUBJECT_KIND_USER""SUBJECT_KIND_TEAM""SUBJECT_KIND_SERVICE_ACCOUNT"
targetIds?array<string>
tags?array<string>
Example
{
"revoke": {
"subject": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "SUBJECT_KIND_UNSPECIFIED"
},
"targetIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"tags": [
"string"
]
}
}