Skip to content

Delete



POST /api/v1/channel/{channel_uuid}/delete

Overview

Delete the specified channel and clean up subscriptions and escalation trigger configurations.

Before You Call and Usage Steps

First, use the Channel Quick List to confirm the UUID to delete. After success, the channel is removed from the list, and subscriptions, related references, and escalation trigger configurations are also cleaned up. Default channels cannot be deleted. Repeatedly deleting a channel that no longer exists may still return true successfully.

Path Parameters

Parameter Type Required Description
channel_uuid string Y Channel UUID of the current workspace.
Example: chan_example
How to obtain or enter: Get it from content[].uuid in the Channel Quick List.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or enter: Obtain an OpenAPI Key with the required permission from API Key Management in the target workspace.

Additional Parameter Notes

This POST request does not require a request body. If the call times out, check the list first to confirm whether the target still exists.

Request Example

curl --request POST 'https://openapi.guance.com/api/v1/channel/chan_example/delete' \
  -H 'DF-API-KEY: <DF-API-KEY>'

Response

HTTP 200, application/json. The example below shows the primary fields that can be read directly.

Field Type Description
content boolean true if deletion processing succeeds.
{
  "code": 200,
  "content": true,
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Handling
400 ft.ForbidDeleteDefaultChannel Attempting to delete the default channel default Deleting the default channel is prohibited Keep the default channel and select the custom channel that actually needs to be deleted.

Feedback

Is this page helpful?