Delete the organization's directory

People only, with a fresh second factor.

DELETE/v1/directory

Not available yet Pod's API does not answer this call yet.

People only, with a fresh second factor. Deletes the directory, its people, groups and links, and every project's group bindings. Every sandbox that took a policy from a group is compiled again without it before the answer.

For people only: a signed-in person with a fresh second factor makes this call, from the dashboard. Any API key is refused with person_required.

Request

curl -X DELETE "https://api.pod.mapier.ai/v1/directory?project=example" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN"

Parameters

NameInTypeRequiredWhat it is
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Answer

204. Deleted.

Errors

The refusals this call is known for: unauthorized, person_required, 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.