Livestream: Ducklake & The Future of Open Table Formats - June 17Register Now

Skip to main content

Create an access token for a user

info

This endpoint is used to create access tokens for users / service accounts. For specific instructions on creating tokens for service accounts and important considerations, please refer to the Service Accounts Guide - Step 2.

Username Parameter

When creating a token for a service account, ensure the username in the path (/v1/users/:username/tokens) is the specific username you defined when creating the service account.

POST 

/v1/users/:username/tokens

Create an access token for a user

note

For service account token creation, ensure you are using an Admin token for authentication. The token generated by this call will be the service account's own token for its operations.

Request

Responses

Successful response