Portal Community

Revoke API

DELETE /api/processes/{processId}/access/{policyId}
Authorization: Bearer {ownerToken}

Or by actor:

DELETE /api/processes/{processId}/access?actorId=user-abc123&actorType=User
Authorization: Bearer {ownerToken}

Soft Delete Behaviour

The policy row is not deleted from the database. Instead, RevokedAt is set to the current UTC time. The access checker excludes rows where RevokedAt IS NOT NULL. This means:

Revoking an Owner

You cannot revoke the last Owner of a workflow. The API returns 409 Conflict if the revoke would leave the workflow Owner-less. To remove an Owner, first promote another actor to Owner, then revoke the first.

In-progress executions: Revoking access does not cancel running executions. If a user is executing a workflow when their access is revoked, the current execution continues to completion. Future execution attempts will be rejected.

Bulk Revoke (Admin)

Tenant Admins can remove a user's access from all workflows in the tenant — useful when offboarding a user:

DELETE /api/tenants/{tenantId}/actors/{userId}/access
Authorization: Bearer {tenantAdminToken}