Organizations
Update an organization
Update mutable fields and settings of the active organization (the path id must match the requesting org). Requires the settings:update permission. This endpoint cannot edit a different organization, even with super admin access. preferredCurrency is write-once: it can be set while null and re-sent unchanged, but never changed afterwards — sending null leaves it untouched.
patch/v1/organizations/{id}
Request
- Base URL: https://api.prod.keyban.io
- URL: https://api.prod.keyban.io/v1/organizations/{id}
- Auth: API key in header X-Api-Key
Path parameters
idstring required
Request body
Example request
{
"name": "Keyban SAS",
"slug": "keyban-sas",
"logo": "https://cdn.example.com/logos/keyban.png",
"defaultLocale": "fr-FR",
"preferredCurrency": "EUR",
"agentRoles": [
"sales",
"analyst"
],
"settings": {
"authConfig": {
"auth0": {
"clientId": "abc123xyz",
"clientSecret": "**********",
"domain": "keyban.eu.auth0.com"
}
}
}
}Response
Organization updated successfully
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"createdAt": "2024-01-15T09:30:00.000Z",
"name": "Keyban SAS",
"slug": "keyban-sas",
"logo": "https://cdn.example.com/logos/keyban.png",
"defaultLocale": "fr-FR",
"preferredCurrency": "EUR",
"agentRoles": [
"sales",
"analyst"
],
"acquisitionChannel": "n8n",
"planIncludesTreasury": true,
"settings": {
"authConfig": {
"auth0": {
"clientId": "abc123xyz",
"clientSecret": "**********",
"domain": "keyban.eu.auth0.com"
}
}
},
"quotas": {
"applicationLimit": 5,
"trustProductLimit": 5,
"trustAuditLimit": 10,
"dppMonthlyLimit": 10000,
"activeUsersMonthlyLimit": 50000,
"agentWalletLimit": 10,
"transactionLimit": 2000,
"chargebee": {
"customerId": "cbdemo_AzqhKqSU6HrW1Mvq",
"subscriptionId": "AzZlGzSU6c6Hqxwh"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.