Create and delete SCIM bearer tokens from the WorkOS Dashboard or Admin Portal.
SCIM bearer tokens authenticate the requests an identity provider sends to your directory sync endpoint. Tokens can now be created and deleted on demand from two places:
Up to two tokens can be active on a directory at the same time, which makes it possible to rotate tokens with no downtime.
Sign in to the WorkOS Dashboard and open the directory you want to manage. The Bearer tokens card on the directory details page lists every active token along with when it was created and last used.

To generate a token, click Generate token. The new token is shown once. Copy it immediately and store it somewhere secure; you will not be able to view it again.
To delete a token, click on the delete action for the row you are removing and confirm the deletion. Any SCIM requests still using that token will start failing immediately after it is deleted, so make sure the identity provider has been updated to use a different active token first.
When an IT contact opens the Admin Portal post-configuration page for a SCIM directory, they see the same Bearer tokens card with the same generate and delete actions.

After clicking Generate token, the IT contact is shown the secret once and prompted to copy it into their identity provider. Once both tokens are active, a callout reminds them to update their identity provider and delete the older token when they are done.
The recommended flow for rotating a token without dropping SCIM traffic:
A directory can have at most two active tokens at any time. If you already have two, delete one before generating another.
There is nothing to do for existing integrations.