Skip to main content

Delete Agent

DELETE 

/api/agents/delete

This endpoint deletes an existing agent by its ID. The request must include a valid API key and user ID.

Request

Header Parameters

    x-api-key stringrequired

    API key to authorize the request.

    userId stringrequired

    ID of the user making the request.

Body

required

    agentId stringrequired

    The unique identifier of the agent to delete.

Responses

Successfully deleted the agent.

Schema

    message object

    Response message confirming the deletion.

Loading...