DatabaseGroup

Generate Token

Generate a new token for the whole DatabaseGroup

post/v1/groups/{group_id}/auth/generate

Request

Path parameters

group_idstring required

[DatabaseGroupId] is a group_<ulid>

The [DatabaseGroupId].

Request body

expires_atstring date-time nullable

The expired at date for the token, if not degined the token won't expire until you invalidate the JWT Secrets.

Needs to be a date-time under the RFC 3339

authorization'full-access' | 'read-only' required

Response

tokenstring required

The generated JWT for the [DatabaseGroup].

expires_atstring date-time nullable

The expired at date for the token.

A date-time under the RFC 3339

Changes

No recorded changes to this operation across all 3 revisions of this API.