Skip to main content
DELETE
/
channels
/
templates
/
delete
cURL
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]
profile_id
integer
required

An identifier for the user profile (workspace) making the request. This ID 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.

is_entire_templates
boolean

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

Response

Successful response, no error returned.

data
object | null

Response info depends on specific endpoint.