Skip to main content
DELETE
/
api
/
v2
/
Group
{
  "ErrorCode": 123,
  "ErrorDescription": "<string>",
  "Data": "<string>"
}

Delete Group

Delete an existing contact group from your account.
This action cannot be undone. All contacts in the group will be removed from the group structure.
curl -X DELETE "https://accounts.netvox.ng/api/v2/Group?ApiKey=YOUR_API_KEY&ClientId=YOUR_CLIENT_ID&id=33"

Parameters

ApiKey
string
required
Your API key for authentication
ClientId
string
required
Your client identifier for authentication
id
number
required
ID of the group to delete

Response

ErrorCode
number
Error code (0 for success)
ErrorDescription
string
Description of the result
Data
string
Success message

Success Response

{
  "ErrorCode": 0,
  "ErrorDescription": "Success",
  "Data": "Group deleted successfully."
}

Error Response

{
  "ErrorCode": 028,
  "ErrorDescription": "Can not be found"
}

Use Cases

  • Group cleanup: Remove unused or outdated groups
  • Data management: Clean up contact organization structure
  • Account maintenance: Remove groups that are no longer needed