API version:

Supported Formats

json

GET /public/v2/reusable_templates/:reusable_template_id/tags
Show all tags for a reusable template

Supported Formats

json

Errors

Code Description
400 invalid_scope
400 unauthorized_client
401 Could not find resource owner
401 Resource owner is not entitled
401 invalid_token
401 Must be authenticated.
401 Unauthorized application.
422 Bad input parameter. Error message should indicate which one and why.

POST /public/v2/reusable_templates/:reusable_template_id/tags
Add new tags for a reusable template. All old tags are removed

Supported Formats

json

Errors

Code Description
400 invalid_scope
400 unauthorized_client
401 Could not find resource owner
401 Resource owner is not entitled
401 invalid_token
401 Must be authenticated.
401 Unauthorized application.
422 Bad input parameter. Error message should indicate which one and why.

Params

Param name Description
tags
required

Optional key value tags for categorization

Validations:

  • Must be an Array of nested elements

tags[tag_name]
required

Tag name is required

Validations:

  • Must be a String

tags[value]
optional

Optional value for the tag

Validations:

  • Must be a String


PATCH /public/v2/reusable_templates/:reusable_template_id/tags
Add/update tags for a reusable template.

Supported Formats

json

Errors

Code Description
400 invalid_scope
400 unauthorized_client
401 Could not find resource owner
401 Resource owner is not entitled
401 invalid_token
401 Must be authenticated.
401 Unauthorized application.
422 Bad input parameter. Error message should indicate which one and why.

Params

Param name Description
tags
required

Optional key value tags for categorization

Validations:

  • Must be an Array of nested elements

tags[tag_name]
required

Tag name is required

Validations:

  • Must be a String

tags[value]
optional

Optional value for the tag

Validations:

  • Must be a String


DELETE /public/v2/reusable_templates/:reusable_template_id/tags
Delete a tag from a reusable template

Supported Formats

json

Errors

Code Description
400 invalid_scope
400 unauthorized_client
401 Could not find resource owner
401 Resource owner is not entitled
401 invalid_token
401 Must be authenticated.
401 Unauthorized application.
422 Bad input parameter. Error message should indicate which one and why.

Params

Param name Description
tag
required

Tag name is required

Validations:

  • Must be a String