Skip to main content
POST
Rename a tag on a file

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
mode
enum<string>
required

Mode of user identification

Available options:
login,
token,
email,
phone,
custom
identity
string
required

User identifier corresponding to the mode

fileuuid
string
required

UUID of the file

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"

token
string

User token that owns the file

fileuuid
string
tags
string[]

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