Skip to main content
DELETE
Delete An Agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}

agentId
object
required

the agentId of the agent that will be deleted

Response

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.