Skip to main content
PATCH
/
api
/
v1
/
organization
Update organization settings
curl --request PATCH \
  --url https://prod.featherhq.com/api/v1/organization \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "allowedChatDomains": [
    "<string>"
  ],
  "schedulerBatchSize": 1,
  "priorityDateBucketConfig": {
    "buckets": [
      {
        "minDays": 1,
        "maxDays": 1,
        "percentage": 50
      }
    ],
    "enabled": true
  }
}
'
{
  "organization": {
    "id": "<string>",
    "name": "<string>",
    "allowedChatDomains": [
      "<string>"
    ],
    "schedulerBatchSize": 123,
    "maxSchedulerBatchSize": 123,
    "priorityDateBucketConfig": {
      "buckets": [
        {
          "minDays": 1,
          "maxDays": 1,
          "percentage": 50
        }
      ],
      "enabled": true
    },
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
Required string length: 1 - 255
allowedChatDomains
string[]
Maximum array length: 50
Pattern: ^(\*\.)?([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z]{2,}$|^localhost$
schedulerBatchSize
integer
Required range: x >= 0
priorityDateBucketConfig
object

Response

Organization updated successfully

organization
object
required