Skip to content
Nokku LogoNokku
API Referencev1.0.0 · 174 endpoints

nokku.v1.RevokeSpec

object

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.

nokku.v1.RevokeSpec
subject
objectRequired
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

{
  "subject": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "kind": "SUBJECT_KIND_UNSPECIFIED"
  },
  "targetIds": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "tags": [
    "string"
  ]
}