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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
org_id | path | string | Yes |
Answer
200. The settings.
{
"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
}| Field | Type | Always | What it is |
|---|---|---|---|
organisation | string | Yes | |
settings | PrivacySettings | Yes | |
effective | PrivacySettings | Yes | |
set_by | string | null | Yes | The identity account that last changed them. |
set_at | string | null | Yes |
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
| Client | Call |
|---|---|
| TypeScript | pod.organisations.privacy(orgId) |
| Python | pod.organisations.privacy(org_id) |