Skip to main content
PUT
/
admin
/
tags
/
{tag_id}
Update Tag
curl --request PUT \
  --url https://api.decodahealth.com/admin/tags/{tag_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "name": "<string>",
  "useForAlerts": true,
  "useForCalls": true,
  "description": "<string>"
}
'
{
  "name": "<string>",
  "useForAlerts": true,
  "useForCalls": true,
  "id": "<string>",
  "description": "<string>"
}

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
required
useForAlerts
boolean
required
useForCalls
boolean
required
description
string | null

Response

Successful Response

name
string
required
useForAlerts
boolean
required
useForCalls
boolean
required
id
string
required
description
string | null