users
keys
Create a user API key
Changed onCreate a new bencher_user_* API key for a user. The plaintext key is only returned once in the response. Only the authenticated user themselves and server admins have access to this endpoint. This endpoint requires a user session: neither a user API key nor a deprecated user API token can create a key, so neither can mint a user API key that outlives its own revocation.
post/v0/users/{user}/keys
Request
- The document declares no server URL.
- Authnone declared
Path parameters
userstring required
The slug or UUID for a user.
Request body
Response
successful creation
Changes
- info
endpoint added
- info