Skip to main content
PATCH
/
api
/
v1
/
agents
/
team
Rename team
curl --request PATCH \
  --url http://localhost:3000/api/v1/agents/team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "oldName": "<string>",
  "name": "<string>"
}
'
{
  "ok": true,
  "data": null
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Body

application/json
oldName
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1

Response

200 - application/json

Team renamed

ok
boolean
required
data
unknown