accounts
Update an existing account
Changed onUpdates an existing account by ID or external ID. Only provided fields are modified.
Rate limit: 300 requests per minute
patch/accounts/{id}
Request
- Base URLhttps://api.usepylon.com
- URLhttps://api.usepylon.com/accounts/{id}
- AuthHTTP bearer
Path parameters
idstring required
The ID or external ID of the account to update.
Request body
Example request
{
"account_type": "customer",
"channels": [
{
"mirror_to": {
"source": "slack"
},
"source": "slack"
}
]
}Response
Example response
{
"data": {
"channels": [
{
"mirror_to": {
"source": "slack"
},
"source": "slack"
}
],
"custom_fields": {
"plan": {
"value": "enterprise"
}
},
"type": "customer"
}
}Changes
- info
added the required property
/to the response with the status
- info
- info
the response property
became required for the status
- info