Skip to main content
DELETE
/
v1
/
program
/
groups
/
{id}
curl -X DELETE "https://api.affonso.io/v1/program/groups/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "success": true,
  "message": "Group deleted successfully"
}
Permanently delete an affiliate group. This action cannot be undone.

Path Parameters

id
string
required
The unique identifier of the group to delete.

Response

success
boolean
Always true for successful deletion
message
string
Confirmation message
curl -X DELETE "https://api.affonso.io/v1/program/groups/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "success": true,
  "message": "Group deleted successfully"
}