Recipients & Employees

Grant Terminations

Terminate and revert token grants when employees leave

Overview#

When an employee leaves or a grant needs to be cancelled, you can terminate their grants. Termination recalculates the vesting schedule — only tokens that have vested up to the termination date remain; future vestings are cancelled.


Terminating a Single Grant#

  1. Navigate to the grant

    Go to Grants and find the grant to terminate.

  2. Click Terminate

    Open the grant detail and click Terminate Grant.

  3. Set the termination date

    Choose the effective termination date. Vestings after this date will be cancelled.

  4. Confirm

    Review the impact and confirm. The grant status changes to TERMINATED.

API: Use Terminate Grant with the grantID and terminationDate.


Terminating All Grants for an Employee#

When an employee leaves, terminate all their active grants at once:

API: Use Terminate Employee Grants with the externalEmployeeID and terminationDate. If grantIDs is omitted, every grant of that employee that isn't already terminated is terminated.

curl -X POST https://app.toku.com/api/tokuApi/v1/terminateEmployeeGrants \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "x-role-type: CLIENT_ORG_ADMIN" \
  -H "Content-Type: application/json" \
  -d '{
    "externalEmployeeID": "EMP-001",
    "terminationDate": "2026-06-30T00:00:00.000Z"
  }'

Response:

{
  "data": {
    "terminatedGrantIDs": ["grant-uuid-1", "grant-uuid-2"],
    "alreadyTerminatedGrantIDs": []
  },
  "error": null
}

Terminating Several Grants#

Terminate a chosen set of one employee's grants:

API: Use Terminate Grants with the employee's externalEmployeeID, a non-empty array of grantIDs and terminationDate. The response lists terminatedGrantIDs, skippedGrantIDs and failedGrantIDs (each with a reason).


Reverting a Termination#

Made a mistake? Revert a termination to make the grant ACCEPTED again and restore its cancelled vestings.

  1. Find the terminated grant

    Filter grants by status TERMINATED.

  2. Click Revert

    Open the grant and click Revert Termination.

  3. Confirm

    The grant returns to ACCEPTED with its vestings restored.

Revert via API#

Single grant:

curl -X POST https://app.toku.com/api/tokuApi/v1/revertGrantTermination \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "x-role-type: CLIENT_ORG_ADMIN" \
  -H "Content-Type: application/json" \
  -d '{"grantID": "grant-uuid"}'

Several grants for an employee (grantIDs is required):

curl -X POST https://app.toku.com/api/tokuApi/v1/revertEmployeeGrants \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "x-role-type: CLIENT_ORG_ADMIN" \
  -H "Content-Type: application/json" \
  -d '{
    "externalEmployeeID": "EMP-001",
    "grantIDs": ["grant-uuid-1", "grant-uuid-2"]
  }'

Grant Status After Termination#

StatusMeaning
TERMINATEDGrant terminated, future vestings cancelled
MARKED_FOR_FUTURE_TERMINATIONTermination scheduled for a future date
ACCEPTEDGrant restored after revert (back to active)

Was this page helpful? Suggest edits