CreateAuthToken creates a new api auth token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Auth token used to authenticate via api.

string
required

(required) User provided name of the token.

boolean
deprecated

Deprecated: not used anymore. Authorization is evaluated from the subject's RBAC
policies; this flag is ignored. Scheduled for removal.

date-time

Time when the token will expire (unix timestamp in nanoseconds).
When creating a token, it must be set to a time in the future, at most 366 days ahead.
When reading a token, a null value means the token never expires. Such tokens are legacy:
new tokens without an expiration are no longer accepted.

string

organization_id is the id of the organization this token belongs to.

string
enum
Defaults to PRODUCT_TYPE_UNSPECIFIED

ProductType represents which product a category belongs to.

Allowed:
Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json