/agents/deleteAsk AIpost https://api.phantombuster.com/api/v2/agents/deleteDeletes an agent by id.Body ParamsidstringrequiredId of the agent to delete.HeadersX-Phantombuster-OrgstringID of the org that is perfoming the operation (not necessary when using a third party key)Responses 200Agent deleted successfully. 400Agent not found. 403Agent is currently running and could not be deleted.Updated over 2 years ago