Agents
Delete agent
Delete one agent from the workspace.
DELETE
Deletes one agent in the workspace tied to your API key.
Headers
string
required
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs write scope.Path parameters
string
required
Agent ID to delete. Use List agents to get the
botId.Response
Returns a confirmation message.Errors
400 Bad Request
400 Bad Request
The agent ID is not a valid UUID.
403 Forbidden
403 Forbidden
The API key does not include the
write scope required for this route.404 Not Found
404 Not Found
The agent does not exist in the API key’s workspace.
500 Internal Server Error
500 Internal Server Error
Fini failed while deleting the agent.

