Skip to main content

users

Endpoints for creating, getting and interacting with users. When using endpoints that require a user id, the string me can be used in place of the user id to indicate the action is to be taken for the logged in user.

πŸ“„οΈRevoke non-compliant personal access tokens

Revoke (hard-delete) every active personal access token that violates the configured `ServiceSettings.MaximumPersonalAccessTokenLifetimeDays` policy, along with any sessions created from them, and return the number of tokens revoked. Bot account tokens are exempt. The request is rejected with 400 when no maximum lifetime is configured, since there is nothing to revoke. This is irreversible; use `/users/tokens/non_compliant/count` first to preview the blast radius.