PATCH
/
api
/
v1
/
integration-account
/
{integrationAccountID}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "My Hostaway Account",
  "workspaceID": "123e4567-e89b-12d3-a456-426614174000",
  "tenantID": "123e4567-e89b-12d3-a456-426614174000",
  "provider": "HOSTAWAY",
  "providerAccountID": "provider-account-12345",
  "accountIdentifier": "hostaway-12345",
  "authType": "OAUTH",
  "defaultDiscountPercentage": 10,
  "markupPercentage": 5,
  "createdAt": "2025-01-01T00:00:00.000Z",
  "updatedAt": "2025-01-02T00:00:00.000Z",
  "status": "ACTIVE",
  "distributionMarkupPercentage": 10,
  "allowImport": true
}

Authorizations

x-calry-api-key
string
header
required

Headers

x-calry-tenant-id
string

Optional tenant ID to specify which tenant to operate as. Controls access to integration accounts. If not provided, the default tenant will be used.

Path Parameters

integrationAccountID
string
required

The integration account ID to update

Body

application/json

Response

200
application/json

Integration account updated successfully

The response is of type object.