Skip to content

Delete Channel API

This API facilitates the removal of a messaging channel within the system. It is classified as "privileged," indicating that its use is restricted to Cloud Code, a secure environment. Deleting a channel automatically unsubscribes all its current subscribers.

Method

DELETE

Endpoint URL

The xxxx.backendless.app is a subdomain assigned to your application. For more information see the Client-side Setup section of this documentation.

https://xxxx.backendless.app/api/messaging/channels/<channel-name>

where:

Argument                Description
<channel-name> name of the channel to delete

Request Headers

N/A

Request Body:

N/A

Response Body

None

Errors

If the server-side reports an error, it returns a JSON object in the following format:

{  
  "message":error-message,  
  "code":error-code  
}