Skip to main content
POST
/
user
/
patient
/
{patient_id}
/
tags
Assign Patient Tags
curl --request POST \
  --url https://api.decodahealth.com/user/patient/{patient_id}/tags \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "patientId": "<string>",
  "tagIds": [
    "<string>"
  ]
}
'
{}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

patient_id
string
required

Body

application/json
patientId
string
required

Patient ID to assign/unassign tags

tagIds
string[]
required

List of patient tag IDs to assign

Response

Successful Response

{key}
string