Skip to main content
POST
Add tags to 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

tags
required

Tags to add — an array or a comma-separated string, at least one tag

request_metadata
object

Additional metadata for the request

Response

Tags added

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