tokens
Create an access token for a user
Creates an access token for a service account or for your own user account. Requires an Admin token when creating service account tokens.
post/v1/users/{username}/tokens
Request
- Base URL: https://api.motherduck.com
- URL: https://api.motherduck.com/v1/users/{username}/tokens
- Auth: HTTP bearer
Path parameters
usernamestring required
user within the organization
Request body
Example request
{
"ttl": 3600
}Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.