Deletes an existing group. You only need to supply the unique ID that was returned upon creation.
API Endpoint #
https://app.text.lk/api/v3/contacts/{group_id}
HTTPParameters #
Parameter | Required | Type | Description |
---|---|---|---|
group_id | Yes | string | Contact Groups uid |
Example request #
curl -X DELETE https://app.text.lk/api/v3/contacts/{group_id}\
-H 'Authorization: Bearer API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
HTTPExample Response #
Returns a contact object if the request is successful.
{
"status": "success",
"data": "null",
}
HTTPIf the request fails, an error object will be returned.
{
"status": "error",
"message" : "A human-readable description of the error."
}
HTTP