ldapsettingsclockify

/users/{userId} is only available for current user?


I use the Clockify API to sync objects to and from our other databases.

I try to update the user image from our LDAP user repo; works fine on my own account, but when I try to update the image for someone else I get a 403.

That leads me to the conclusion that everything under /users is only available for the current user (even if the current user is admin of the workspace). If so, can that be clarified in the documentation?

https://clockify.github.io/clockify_api_docs/#tag-User

Is there a way to update user settings/profile for someone else?


Solution

  • That's right. By design, you can't edit other people's User Settings.

    This is because the person in your workspace might have other workspaces (be it their own or someone else's). You're only someone's admin in your particular workspace, and they're free to have other workspaces beside yours.