Skip to main content
PUT
/
attachments
/
tags
/
{tag_id}
Update Attachment Tag
curl --request PUT \
  --url https://api.decodahealth.com/attachments/tags/{tag_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "color": "<string>",
  "createdDate": "2023-11-07T05:31:56Z"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

tag_id
string
required

Body

application/json
name
string | null
color
string | null

Response

Successful Response

id
string
required
name
string
required
color
string
required
createdDate
string<date-time> | null