Skip to navigation

Update Child Organization Contract

Makes an update to the specified child organization. Used to modify the current retention with the retention field or the current owner with the owner field.

Authentication

enterprise-servicekeystring
When authorizing against our enterprise endpoints, they expect an enterprise service key instead of a regular organization service key. Some endpoints might expect both an enterprise service key and a regular organization service key.

Path parameters

accountIdstringRequired
Account number of the organization

Request

This endpoint expects an object.
retentionintegerOptional
Current retention period selected for the child organization
ownerstringOptional
The email of a user to be given owner privileges of an account.

Response

The account was found, the enterpriseId and retention details are updated.
accountstringOptional
Account number of the organization
enterprisestringOptional
Unique Id of the enterprise organization
retentionintegerOptional
Current retention period selected for the child organization
ownerstringOptional
The email of a user to be given owner privileges of an account.
retentionPeriodslist of integersOptional
Available log retention options for the child organization
planstringOptional
The name of a plan.
servicekeystringOptional
A secret key which can be used to authenticate requests to Mezmo.

Errors

400
Bad Request Error
404
Not Found Error
409
Conflict Error