User Auth Token

Update user auth token name

Renames an existing API token.

post/v2/user/auth-token/{tokenName}/name

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/user/auth-token/{tokenName}/name
  • Auth: HTTP bearer

Path parameters

tokenNamestring required

Token name

Example:my-api-token

Request body

namestring required

New token name

Example request

{
  "name": "new-token-name"
}

Response

Token renamed successfully

Example response

{
  "value": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "my-api-token",
    "description": "Token for CI/CD pipeline"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.