Skip to content
SteamSets
Esc
↑↓navigate↵open⌘Jpreview

Replace a badge's tags

POST/v1/badge.setTags
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
badgeIdstringrequired
colorsstring[] | null

Complete desired color tag IDs. An empty array removes every color.

designsBadgeSetTagsDesign[] | null

Complete desired designs, selected by ID or created by name. An empty array removes every design.

Show properties
Array of BadgeSetTagsDesign
idstring
namestring
expectedTagsVersionstringrequired

The tagsVersion returned by getTags or a previous setTags. A stale token is rejected with 409.

metadataBadgeSetTagsDesign[] | null

Complete desired non-visual metadata, selected by ID or created by name. An empty array removes every metadata tag.

Show properties
Array of BadgeSetTagsDesign
idstring
namestring
Responses
200

OK

closedReviewbooleanrequired

True when the edit marked the badge's pending tag review as done.

colorsBadgeSetTagsTag[] | nullrequired
Show properties
Array of BadgeSetTagsTag
idstringrequired
namestringrequired
designsBadgeSetTagsTag[] | nullrequired
Show properties
Array of BadgeSetTagsTag
idstringrequired
namestringrequired
metadataBadgeSetTagsTag[] | nullrequired
Show properties
Array of BadgeSetTagsTag
idstringrequired
namestringrequired
tagsVersionstringrequired

Opaque optimistic-concurrency token for the new tag set. Pass it to make another edit.

400

Bad Request

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
401

Unauthorized

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
403

Forbidden

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
404

Not Found

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
409

Conflict

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
422

Unprocessable Entity

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
500

Internal Server Error

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.steamsets.com/v1/badge.setTags' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "badgeId": "string",
  "colors": [
    "string"
  ],
  "designs": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "expectedTagsVersion": "string",
  "metadata": [
    {
      "id": "string",
      "name": "string"
    }
  ]
}'
Response
{
  "closedReview": true,
  "colors": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "designs": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "metadata": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "tagsVersion": "string"
}