Read the organization's data and privacy settings

The Data & privacy switches: as set, and as the cell applies them (`effective`: zero data retention also turns snapshots off).

GET/v1/organisations/{org_id}/privacy

The Data & privacy switches: as set, and as the cell applies them (effective: zero data retention also turns snapshots off).

A key with the members:read scope.

Request

curl "https://api.pod.mapier.ai/v1/organisations/org_3ahrz6dmv29gqy5ckt18fp/privacy" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
org_idpathstringYes

Answer

200. The settings.

200
{
  "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
  "settings": {
    "zero_data_retention": false,
    "snapshots_off": false,
    "monitoring_off": false
  },
  "effective": {
    "zero_data_retention": false,
    "snapshots_off": false,
    "monitoring_off": false
  },
  "set_by": null,
  "set_at": null
}
FieldTypeAlwaysWhat it is
organisationstringYes
settingsPrivacySettingsYes
effectivePrivacySettingsYes
set_bystring | nullYesThe identity account that last changed them.
set_atstring | nullYes

Errors

The refusals this call is known for: forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.organisations.privacy(orgId)
Pythonpod.organisations.privacy(org_id)