Skip to Content
Organizations

Request a code for a destructive action

Toegang

Alleen Tillor-beheerders.

POST
/admin/organizations/{organizationId}/action-code

Mails a one-time code to the calling super admin; deleting or restoring the organization requires it. Super-admins only.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string
Length1 <= length

Request Body

application/json
  1. body
action*"delete"
Value in"delete"

Response Body

OK

application/json
  1. response
maskedEmail*string
Example Request
curl -X POST 'https://api.tillor.eu/admin/organizations//action-code' \  -H 'Content-Type: application/json' \  -d '{  "action": "delete"}'
Example Response
{  "maskedEmail": "string"}