Delete Channel Type
POST
/web/v1/notification-channel-types/command/deleteWEBDeletes a notification channel type by its business ID.
Authentication
Requires a valid JWT token and Turnstile verification. Gateway validation: enableJwtToken=true, enableTurnstile=true.
Request Parameters
Request Body
TypeDeleteRequest:
| Name | Type | Required | In | Description |
|---|---|---|---|---|
bizId | string | Yes | body | Type business ID to delete |
Success Response
Success200
{
"code": "2000",
"message": "SUCCESS",
"data": null
}Error Responses
| Code | Description |
|---|---|
4000 | Validation error (missing bizId) |
4010 | Unauthorized (invalid or missing JWT token) |
4030 | Turnstile verification failed |
4040 | Channel type not found |
Notes
- This operation is permanent and cannot be undone.
- Ensure no channels reference this type before deleting.