v1

latestOpenAPI 3.1.02026-07-26189891.1 MB
Enterprise

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.

put/v1/enterprise/account/{accountId}

Path parameters

accountIdstring required

Account number of the organization

Example:0000000000

Request body

retentioninteger

Current retention period selected for the child organization

ownerstring

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

Example request

{
  "retention": 7,
  "owner": "owner@example.org"
}

Response

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

accountstring

Account number of the organization

enterprisestring

Unique Id of the enterprise organization

retentioninteger

Current retention period selected for the child organization

ownerstring

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

retentionPeriodsRetention[]

Available log retention options for the child organization

planstring

The name of a plan.

servicekeystring

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

Example response

{
  "account": "0000000000",
  "enterprise": "0000000000",
  "retention": 7,
  "owner": "owner@example.org",
  "retentionPeriods": [
    7
  ],
  "plan": "enterprise",
  "servicekey": "7b273eb8adc962f2711ad760730debb0"
}