Skip to main content
PATCH
/
component
/
{componentId}
Update Component by ID
curl --request PATCH \
  --url https://api.draftt.io/v1/component/{componentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customTags": {
    "Environment": "production",
    "Team": "backend",
    "CostCenter": null
  }
}
'
{
  "error": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

componentId
integer
required

Body

application/json
customTags
object

Response

No Content - Update successful