Update a tag

PUT /v1/tags/{tagId}

Update a tag

Path parameters

  • tagId string Required

    The id of the tag

application/json

Body Required

  • name string

    The name of the tag

  • emoji string | null

    The emoji of the tag

Responses

  • 200 application/json

    Tag successfully updated

    Hide response attributes Show response attributes object
    • id string Required

      The id of the tag.

    • name string Required

      The name of the tag.

    • emoji string

      The emoji of the tag

    • order integer Required

      The order of the tag.

  • 400

    Malformed payload

  • 404

    Tag not found

PUT /v1/tags/{tagId}
curl \
 --request PUT 'https://openapi.meltingspot.io/v1/tags/{tagId}' \
 --header "Content-Type: application/json" \
 --data '{"name":"string","emoji":"string"}'
Request examples
{
  "name": "string",
  "emoji": "string"
}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "emoji": "string",
  "order": 42
}