Skip to main content
POST
Add tag to VM
Updated November 10, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Headers

X-Project-ID
string<uuid>
required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Path Parameters

id
string<uuid>
required

VM ID (UUID)

Body

application/json
name
string
required

Tag name. The account tag of this name (ignoring case) is added; it is created when the account has none.

Required string length: 1 - 40
Example:

"production"

priority
integer

Priority 1-9 (1 highest) for a tag created by this call. Ignored when the tag exists. 0 or omitted means no priority.

Required range: 0 <= x <= 9
Example:

0

Response

Tag added

The VM's full tag list after the tag was added, and the firewall the tag carries in the VM's project.

success
boolean
required
Example:

true

tags
object[]
required
firewall_queued
boolean
required

true when Raff will put the tag's firewall on the VM's public network interfaces in the background.

firewall
object

A tag that carries a firewall in one project. Servers of that project with the tag get the firewall on their public network interfaces.

Last modified on November 10, 2026