Skip to content

Delete Component

DELETE
/api/v1/workspaces/{workspace_id}/email_design_systems/{emailDesignSystemId}/components/{name}
curl --request DELETE \
--url https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1/email_design_systems/1/components/example \
--header 'Authorization: Bearer <token>'

Deletes a component.

  • OAuth2
    email_design_systems:delete
workspace_id
required
integer

Workspace ID

name
required
string

Component name

emailDesignSystemId
required
integer

Email Design System ID

Successful

Unauthorized

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}

Forbidden

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}