When a school deactivates or deletes your platform application, the Untis Platform sends a deactivation webhook to your configured endpoint. This notifies your application that access has been revoked for that tenant and that you should no longer use the associated credentials.
All webhook endpoints share the same technical requirements — HTTPS, POST, 2xx acknowledgement, and signature verification. See Credentials Webhook for the full list.
The endpoint URL is configured in PAM when your platform application is set up. It can be the same endpoint as the credentials webhook or a separate one.
Once you receive a deactivation event for a tenant, the associated credentials are no longer valid. Mark the tenant as deactivated in your system immediately — any API calls using the revoked credentials will fail.
The Untis Platform does not prescribe what to do with tenant data. You have two main options:
Option A — Delete immediately
Remove all tenant-specific data (credentials, synced records, user
associations) as soon as the event is received. Use this if your application
has no need to retain historical data or if your data processing agreement
requires immediate deletion.
Option B — Mark as deactivated
Retain the data but flag the tenant as inactive. This preserves historical
records (e.g. past syncs, audit logs) and allows graceful re-activation if
the school reconnects. Deactivated tenants must not trigger new API calls.
Choose based on your data processing agreements, legal requirements, and product needs.
Return a success response quickly, even if your data cleanup runs asynchronously. A slow or failed response may cause the Untis Platform to retry delivery.
Your handler must be idempotent — processing the same deactivation event twice must produce the same result as processing it once. An already-deactivated tenant must remain deactivated with no errors thrown.
If a school reactivates your platform application, a new Credentials Webhook will be delivered with an eventType of REACTIVATED and fresh credentials. Treat this as a new activation — store the new credentials and restore the tenant’s active status in your system.