Dépannage

L'utilisateur désactivé est affiché comme actif dans l'API

1 min de lecture

If you encounter an issue where a deactivated user is showing as ACTIVE via the API, it’s important to understand how Clockify handles user status.

Explanation #

When a user is deactivated from a specific workspace, their account is not deleted from the Clockify database.
If the user is a member of multiple workspaces, their account will remain active in other workspaces.

Solution #

  • Ensure you are using the correct endpoint:
  • To check membership status in a specific workspace, use the query parameter ?memberships=ALL:
    • Example: GET /v1/workspaces/{{ws id}}/users/?memberships=ALL

If the status still shows ACTIVE, it is expected behavior. The user is still considered active in the system due to their presence in other workspaces.

Cet article vous a-t-il été utile ?

Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@clockify.me