Revoke a service account's token
Overview
This flow describes how to revoke the token of a service account. Care deletes the token, so the service account no longer has one.
Care shows Manage Token only to the person who created the service account.
Pre-requisites
- You created the service account.
- You have the permissions listed below.
Permissions
| Permission | Access |
|---|---|
| Can List Users in an Organizations | Opens the Service accounts tab of a government organization, where you find the service account. Hold it in the organization or a parent organization. By default, the Volunteer, Doctor, Nurse, Staff and Administrator roles hold it in a government organization. |
Care shows Manage Token only to the person who created the service account.
Steps
1. Open the profile of the service account
This page starts from the Service accounts tab of a government organization where the service account has a role. If it has no role there, see Add a service account to an organization or department.
On your dashboard, select the Governance tab. Select the organization.
Select the Service accounts tab.
A sub-organization has its own Service accounts tab. To open a sub-organization, see Open a government organization.
In the row of the service account, select View. Care opens the profile of the service account.

2. Select Revoke Token
In the Manage Token section, select Revoke Token.
Note: If you did not create the service account, Care does not show Manage Token.

3. Confirm
Care opens the Revoke Token dialog. It asks if you are sure that you want to revoke the token for this service account.
The dialog says that you cannot undo this action. It also says that applications that use the token lose access at once.
Select Revoke. While Care works, the button shows Revoking....
Care deletes the token and shows Token revoked successfully.
Note: Care does not check that the service account has a token. If it has no token, Care still shows Token revoked successfully.

Expected Outcome
- The service account has no token.
- Care deletes only the token.
- To give the service account a token again, generate a new token.
Related
Concepts:
Flows: