Skip to navigation

Update company settings

View as Markdown

Changes the given sections. export and accountingPolicy are replaced whole; agent switches are merged. Use dryRun=true to see the changes first.

Authentication

AuthorizationBearer

Skaitra API key (skt_…).

OR
AuthorizationBearer

OAuth 2.1 access token issued for the Skaitra resource (/mcp); see /.well-known/oauth-protected-resource.

Path parameters

idstringRequired1-200 characters

Headers

Idempotency-KeystringOptional<=200 characters

Any unique value; a retry with the same key returns the first result.

Query parameters

dryRunboolean or enumOptional

true validates and returns the changes without saving them.

Request

This endpoint expects an object.
exportobjectOptional
accountingPolicyobjectOptional
agentobjectOptional

Response

OK
CompanySettingsobject
OR
object

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
428
Precondition Error