Skip to main content

Delete a billing group

DELETE 
/billing_groups/:id

Delete a billing group

Request

Path Parameters

    id uuidrequired

    The id of the billing group

Responses

200: Expected billing group response to a valid request

default: Unexpected error

Request samples


curl -L -X DELETE 'https://api.telnyx.com/v2/billing_groups/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"record_type": "billing_group",
"id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
"organization_id": "f1486bae-f067-460c-ad43-73a92848f902",
"name": "My billing group name",
"created_at": "2019-10-15T10:07:15.527Z",
"updated_at": "2019-10-15T10:07:15.527Z",
"deleted_at": null
}
}