Create a tag

Creates a new Tag and optionally tags requested objects with it immediately.

Important. You must be an unrestricted User in order to access, add, or modify Tags information.

linode-cli tags create \ --label 'example tag' \ --linodes 123 \ --linodes 456 \ --volumes 9082 \ --volumes 10003
Learn more...
account:read_write
Learn more...
Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Body Params

The tag to create, and optionally the objects to tag.

domains
array of integers

A list of Domain IDs to apply the new Tag to. You must be allowed to read_write all of the requested Domains, or the Tag will not be created and an error will be returned.

domains
string
required
length between 3 and 50

The new Tag.

linodes
array of integers

A list of Linode IDs to apply the new Tag to. You must be allowed to read_write all of the requested Linodes, or the Tag will not be created and an error will be returned.

linodes
nodebalancers
array of integers

A list of NodeBalancer IDs to apply the new Tag to. You must be allowed to read_write all of the requested NodeBalancers, or the Tag will not be created and an error will be returned.

nodebalancers
volumes
array of integers

A list of Volume IDs to apply the new Tag to. You must be allowed to read_write all of the requested Volumes, or the Tag will not be created and an error will be returned.

volumes
Responses

Response body
object
string

A Label used for organization of objects on your Account.

Language
Credentials