nokku.v1.PlanGrantRequest
objectnokku.v1.PlanGrantRequest
grantobjectRequired
Who gets which account where. A server counts when its id is named or it has one of the tags.
subjects?array<nokku.v1.GrantSubject>
targetIds?array<string>
tags?array<string>
username?string
Empty asks only which servers these are and what accounts they have.
expiresAt?string <date-time>
Unset is for good.
changeEnds?boolean
A grant that stands with another end keeps it, unless this is set.
Example
{
"grant": {
"subjects": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "SUBJECT_KIND_UNSPECIFIED"
}
],
"targetIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"tags": [
"string"
],
"username": "string",
"expiresAt": "2023-01-15T01:30:15.01Z",
"changeEnds": true
}
}