Skip to main content
DELETE
/
channels
/
templates
/
delete
Delete a channel template
curl --request DELETE \
  --url https://api.pubrio.com/channels/templates/delete \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "channel_templates": [
    1,
    2
  ],
  "is_entire_templates": true,
  "profile_id": 123
}
'
{
  "data": null
}

Authorizations

pubrio-api-key
string
header
required

A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.

Body

application/json
channel_templates
integer[]
required

A list of channel_template_id used to search for specific channel templates.

Example:
[1, 2]
is_entire_templates
boolean

When enabled, the execution will apply to the entire version within the channel template.

profile_id
integer

Optional. An identifier for the user profile (workspace) making the request. This is no longer required as the API key already includes your workspace information. If provided, it helps in associating the lookup with a specific user, allowing for data retrieval and credit tracking.

Check out user details endpoints under the Profile tab for more information.

Response

Successful response, no error returned.

data
object

Response info depends on specific endpoint.