Skip to main content
PUT
/
v1
/
tags
/
{id}
Update a tag
curl --request PUT \
  --url https://api.metal.ai/v1/tags/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-metal-api-key: <api-key>' \
  --header 'x-metal-client-id: <api-key>' \
  --data '
{
  "value": "<string>",
  "color": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "value": "<string>",
    "color": "<string>",
    "externalReference": {
      "source": "<string>",
      "id": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-metal-client-id
string
header
required

The Client ID of your API key.

x-metal-api-key
string
header
required

The secret value of your API key.

Path Parameters

id
string
required

The tag id.

Body

application/json
type
enum<string>
Available options:
company,
deal,
list
value
string
color
string

Response

Updates an existing tag.

data
object