Resolução de problemas

Deactivated user is displayed as active in API

1 min de leitura

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.

Solução #

  • 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.

Esse artigo foi útil?

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