/dynamic_contents/{id}Delete dynamic content
Deletes a reusable dynamic content item by its unique identifier. You cannot delete dynamic content that is still used in an article, so remove its article references before attempting deletion. The authenticated user needs the read_write_dynamic_content scope.
One documented failure
unauthorizedAccess Token Invalid
One documented failure
api_plan_restrictedDynamic content is not enabled for this workspace
One documented failure
not_foundDynamic content not found
One documented failure
validation_errorCannot delete 'Support phone number' because it is still used in 2 articles
A 401 is returned when authentication fails, a 403 when dynamic content is not enabled, a 404 when the dynamic content is not found, and a 422 when it is still in use. The id path parameter must identify the dynamic content to delete, and the authenticated user needs the read_write_dynamic_content scope.