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

Rename an authentication key of a user

post
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired

Name of the user.

key_idinteger · int64Required

ID of the authentication key.

Body
namestringRequired
Responses
200

Authentication key renamed.

No content

post/api/v1/user/{username}/auth_key/{key_id}/rename
POST /api/v1/user/{username}/auth_key/{key_id}/rename HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}

No content

Last updated

Was this helpful?