Agents

Delete Agent

Delete an existing agent and clean up associated resources (including icon from R2 storage)

delete/api/v1/agents/{id}

Path parameters

idstring required

The unique identifier

Example:12345

Response

Agent deleted successfully

messagestring required

Example response

{
  "message": "Agent deleted successfully"
}

Changes

Changed in 3 of the 11 revisions of this API.333

    • added the non-success response with the status 403

      response-non-success-status-added

  • b0e6563d3fce331See the full diff
    • the code response property const value INTERNAL_SERVER_ERROR was removed for the status 500

      response-property-const-removed

    • the code response property const value NOT_FOUND was removed for the status 404

      response-property-const-removed

    • the code response property const value UNAUTHORIZED was removed for the status 401

      response-property-const-removed

    • added the new INTERNAL_SERVER_ERROR enum value to the code response property for the response status 500

      response-property-enum-value-added

    • added the new NOT_FOUND enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new UNAUTHORIZED enum value to the code response property for the response status 401

      response-property-enum-value-added

    • api operation id deleteApiV1AgentsById removed and replaced with

      api-operation-id-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added