CreateApiTokenRequest
namestringrequired
A caller-chosen label distinguishing this token from an account's others.
Possible values: non-empty and <= 128 characters
roleApiTokenRolerequired
A token's own scope, always admin or viewer — never share-only, since a share-only account has no API access to scope.
Possible values: [admin, viewer]
CreateApiTokenRequest
{
"name": "string",
"role": "admin"
}