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

nokku.v1.EndingGrant

object

EndingGrant is a subject's grants on one account that end at the same time, usually given in one go.

nokku.v1.EndingGrant
subjectKind?
string
Enum:"SUBJECT_KIND_UNSPECIFIED""SUBJECT_KIND_USER""SUBJECT_KIND_TEAM""SUBJECT_KIND_SERVICE_ACCOUNT"
subjectId?
string
subjectName?
string
username?
string
expiresAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

targets?
array<nokku.v1.EndingGrant.Target>

the first 20 by name, target_count has them all

targetCount?
integer <int32>

Example

{
  "subjectKind": "SUBJECT_KIND_UNSPECIFIED",
  "subjectId": "string",
  "subjectName": "string",
  "username": "string",
  "expiresAt": "2023-01-15T01:30:15.01Z",
  "targets": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "targetCount": 0
}