Skip to main content
Channels

Unpair a channel

DELETE /api/v1/forward/channel_pairings/{pairing_id}

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
pairing_idstringYesPairing ID returned by the Pair endpoint.

Example request

curl -s -X DELETE 'https://api.qoder.com.cn/api/v1/forward/channel_pairings/pair_019eabc123' \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

Example response

HTTP 200 OK
{
  "id": "pair_019eabc123",
  "deleted": true
}

Response fields

FieldTypeDescription
idstringPairing ID.
deletedbooleantrue when successfully unpaired.

Error codes

HTTPTypeTrigger
401authentication_errorPAT is invalid or expired.

Notes

  • Returns deleted=true even if the Pairing does not exist or was already removed.
  • After unpairing, the next message in that conversation scope will trigger a new Pairing Code.