Agents
Archive an agent
Permission
agents:deleteAuthenticationDELETE
Soft-archives the aggregate. Repeating the operation is a semantic no-op and preserves the revision. Supply If-Match to prevent archiving a newer representation than the one your automation inspected.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
Agent archived, or was already archived. The response has no body. Example result: status 204 with ETag "agent-11111111-1111-4111-8111-111111111111-r1-cap-00-v6"; a repeated archive with that tag remains 204 and preserves it.
curl -X DELETE 'https://api.kejue.co/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty