Users management

I’d like to be able to manage the users (listing, adding, deleting) of an Atlassian workspace via API.
I’ve found 3 API documentations that seem to allow this:

https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-group-users
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-group-users
https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-group-users

Which one is right for my needs?
Thanks in advance for your answers.

Translated with DeepL Translate: The world's most accurate translator (free version)

Hello @ThomasEssig

As far as I know, Bitbucket is the only Atlassian product that has workspaces, in which case none of those endpoints has anything to do with that topic.

If you refer to the Bitbucket REST API documentation, Workspaces endpoints, you’ll see there are no endpoints for managing users in Bitbucket workspaces.