For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rename an API token of a user

post
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired

Name of the user.

token_idinteger · int64Required

ID of the API token.

Body
namestringRequired
Responses
200

API token renamed.

No content

post/api/v1/user/{username}/api_token/{token_id}/rename

No content

Last updated

Was this helpful?