Skip to main content
PUT
Update Child Organization Contract

Authorizations

enterprise-servicekey
string
header
required

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

accountId
string
required

Account number of the organization

Example:

"0000000000"

Body

application/json
retention
integer

Current retention period selected for the child organization

Example:

7

owner
string

The email of a user to be given owner privileges of an account.

Example:

"owner@example.org"

Response

The account was found, the enterpriseId and retention details are updated.

account
string

Account number of the organization

Example:

"0000000000"

enterprise
string

Unique Id of the enterprise organization

Example:

"0000000000"

retention
integer

Current retention period selected for the child organization

Example:

7

owner
string

The email of a user to be given owner privileges of an account.

Example:

"owner@example.org"

retentionPeriods
integer[]

Available log retention options for the child organization

Current retention period selected for the child organization

plan
string

The name of a plan.

Example:

"enterprise"

servicekey
string

A secret key which can be used to authenticate requests to Mezmo.

Example:

"7b273eb8adc962f2711ad760730debb0"