Partner API

get

List child organisations owned by the authenticated partner. Deleted organisations are excluded by default.

Authorizations
x-api-keystringRequired
Query parameters
limitinteger · min: 1 · max: 100OptionalDefault: 50
skipintegerOptionalDefault: 0
include_deletedbooleanOptionalDefault: false
Responses
200

Organisations listed.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
get
/organisations
post

Create a child organisation owned by the authenticated partner. The response includes one newly generated standard organisation API key. Use that child organisation API key for data writes into the child organisation.

Authorizations
x-api-keystringRequired
Body
organisation_namestring · min: 1RequiredExample: Example Child Organisation
countrystring · min: 2 · max: 2Required

ISO 3166-1 alpha-2 country code.

Example: GB
division_timezonestring · min: 1RequiredExample: Europe/London
division_namestring · min: 1Optional

Optional name for the initial division. Defaults to organisation_name.

Example: Headquarters
partner_external_idstring · min: 1Optional

Optional partner-side identifier for this organisation.

Example: customer-12345
Responses
200

Organisation created.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
post
/organisations
get

Retrieve one child organisation by MongoDB organisation ID. Organisations not owned by the authenticated partner are rejected.

Authorizations
x-api-keystringRequired
Path parameters
organisation_idstringRequiredPattern: ^[a-f\\d]{24}$
Query parameters
include_deletedbooleanOptionalDefault: false
Responses
200

Organisation found.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
get
/organisations/{organisation_id}
delete

Soft-delete an owned child organisation and revoke its organisation API keys. If the deleted target is itself a partner organisation, child organisations linked to that partner are also soft-deleted and their keys revoked.

Authorizations
x-api-keystringRequired
Path parameters
organisation_idstringRequiredPattern: ^[a-f\\d]{24}$
Responses
200

Organisation deleted.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
delete
/organisations/{organisation_id}
patch

Update safe partner-facing organisation metadata only. Fields such as country, location, shard_key, organisation_key, divisions, is_partner, and ownership fields cannot be updated through this API.

Authorizations
x-api-keystringRequired
Path parameters
organisation_idstringRequiredPattern: ^[a-f\\d]{24}$
Body
organisation_namestring · min: 1Optional
partner_external_idstring · min: 1Optional
Responses
200

Organisation updated.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
patch
/organisations/{organisation_id}
get

Retrieve storage and API request usage for an owned child organisation for a single month. Monthly totals are returned when available; otherwise daily storage and API usage records are aggregated.

Authorizations
x-api-keystringRequired
Path parameters
organisation_idstringRequiredPattern: ^[a-f\\d]{24}$
Query parameters
usage_monthstringRequiredExample: 2026-04Pattern: ^\\d{4}-\\d{2}$
Responses
200

Usage found.

application/json
successbooleanRequired
identifierstring · enumRequiredPossible values:
get
/organisations/{organisation_id}/usage

Last updated

Was this helpful?