Skip to main content
POST
Delete Agent Group
Use this API to delete an agent group document. The agents referenced by the group are not affected — they remain intact in the workspace’s custom agent collection. To delete a custom agent (and have it removed from every group), use Delete Agent.

Endpoint

POST https://api.velt.dev/v2/agents/groups/delete

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Delete a group

Response

Success Response

FieldTypeDescription
data.groupIdstringThe ID of the deleted group

Failure Response

Errors: NOT_FOUND (group does not exist).