Skip to main content
POST
/
attachments
/
{attachment_id}
/
tags
Assign Attachment Tags
curl --request POST \
  --url https://api.decodahealth.com/attachments/{attachment_id}/tags \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "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

attachment_id
string
required

Body

application/json
tagIds
string[]
required

Response

Successful Response

{key}
string