DELETE
/
{resourceSlug}
/
forms
/
agent
/
{agentId}
curl --request DELETE \
  --url https://app.agentcloud.dev/{resourceSlug}/forms/agent/{agentId}
{
  "_id": "<string>",
  "redirect": "<string>"
}

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user

agentId
object
required

the agentId of the agent that will be deleted

Response

302
dynamicResponse
Successful operation, redirect to '/{resourceSlug}/agents'.

Server response after successsfully adding a new object

_id
string

The unique Mongo id of the newly inserted object.

redirect
string

a string containing the redirect link to get all objects after a successful insertion.