Skip to main content
POST
Rename a tag on a token

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
token
string
required

The token UUID or token value

tag
string
required

The tag to replace

newtag
string
required

The tag to put in its place

request_metadata
object

Additional metadata for the request

Response

Tag renamed

status
string
Example:

"ok"

tokenuuid
string
tags
string[]

The token's tags afterwards, limited to those the caller may see