Skip to main content
PUT
/
api
/
agents
/
{agentId}
Update agent name
curl --request PUT \
  --url https://app.mandate.md/api/agents/{agentId} \
  --header 'Content-Type: application/json' \
  --cookie laravel_session= \
  --data '
{
  "name": "Updated Bot Name"
}
'
{
  "updated": true,
  "name": "Updated Bot Name"
}

Authorizations

laravel_session
string
cookie
required

Laravel Sanctum cookie-based session authentication. Obtained via GitHub OAuth login on the dashboard.

Path Parameters

agentId
string<uuid>
required

Body

application/json
name
string
required
Maximum string length: 100

Response

Agent updated.

updated
enum<boolean>
required
Available options:
true
name
string
required