Delete a Component

Warning

Deleting components via DELETE requests to /api/v2/components/{id} is deprecated. Please use the Batch API that allows for deleting multiple components in a single request.

Click here for the full Schema.

component_id="c253c98231776d0c8a54879e"
curl \
  --request DELETE \
  --header "Authorization: Bearer ${ARDOQ_API_TOKEN}" \
  --header "X-org: ${ARDOQ_ORG_LABEL}" \
  --fail-with-body \
  "${ARDOQ_API_HOST-"https://app.ardoq.com"}/api/v2/components/${component_id}"