cURL
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>" ] } '
{}
Assign tags to a patient. This replaces all existing tags with the provided ones.
The tenant you are making this request on behalf of
Your api key
Patient ID to assign/unassign tags
List of patient tag IDs to assign
Successful Response