Create an API token

Creates an API token for the authenticated user.

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

The properties of the token to be created.

date-time

When users trigger a pipeline which uses an API token, the token is updated with the current time. This field is used to track the last time the token was used.

string

API token resource ID (used in name as the last segment). This conforms to RFC-1034, which restricts to letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

This field can reflect the client(s) that will use the token.

int32

The time-to-live in seconds for this resource.

date-time

Expiration time.

Responses

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