Skip to Content
Groups

Archive a group

Permissiongroups:deleteAdd-onGroupsAuthentication
DELETE
/groups/{id}

Soft-archives the group and its group-owned extraction object.

Calls that already ran through it stay readable with their group and member attribution, results stay available, and the member agents are untouched.

Blocked while something still points at it

The request is rejected with 409 group_in_use while any non-archived phone number or campaign still targets this group. details.phone_numbers lists the blocking E.164 numbers and details.campaigns the blocking campaign names — re-point them at an agent, a flow or another group, then retry.

Repeating DELETE after archive is a 204 no-op.

If-Match is optional: omitting it archives unconditionally, * accepts the current representation, and a stale strong tag returns 412 with the current ETag. Any request body returns 400 unexpected_body.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Header Parameters

If-Match?string

Optional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.

Response Body

Group archived, or it was already archived.

Example Request
curl -X DELETE 'https://api.kejue.co/v1/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty