API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

tagsAdd mutation

Version 2021-01 (Release candidate)

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-10 (Latest)

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-07

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-04

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Unsupported)

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Unsupported)

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-04 (Unsupported)

Add tags to a taggable object.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

The ID of a resource to add tags to.

tags ( [String!]! ) required

A list of tags. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".

Return fields

node (Node)

The object that was updated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.