Skip to main content
DELETE
/
agent
/
{agentId}
Delete Agent
curl --request DELETE \
  --url http://sandbox.mintlify.com/agent/{agentId} \
  --header 'Authorization: Bearer <token>'
Deletes a registered AI agent and all associated payment plans. This operation is only available to the original builder or an authorized account.

Path Parameters

NameTypeRequiredDescription
agentIdstringYesThe unique identifier of the agent to delete

Example Usage

await payments.deleteAgent(agentId)

Responses

  • 200 OK – Agent successfully deleted
  • 403 Forbidden – Caller is not authorized to delete this agent
  • 404 Not Found – Agent does not exist

Notes

  • You must initialize the Payments client with the appropriate nvmApiKey before calling this method.
  • Deleting an agent is irreversible. Plans tied to the agent will also be removed from the registry.

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

The unique identifier of the agent to delete

Response

Agent successfully deleted