# Users API

**URL:** <https://community.dynatrace.com/t/users-api/38121>\
**Category:** Dynatrace API\
**Tags:** settings, dynatrace-api, tokens\
**Created:** [January 24, 2023, 5:20am UTC](https://community.dynatrace.com/t/users-api/38121 "2023-01-24T05:20:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 24, 2023, 5:20am UTC](https://community.dynatrace.com/t/users-api/38121/1 "2023-01-24T05:20:30Z")

</div>

Hello dears,

Is there a relevant scope to get Users information through API as the required scope is **ServiceProviderAPI (Service Provider API)**, as per creating the token and choosing the scope it’s not available in the selection list.

Thanks.

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [January 24, 2023, 9:23am UTC](https://community.dynatrace.com/t/users-api/38121/2 "2023-01-24T09:23:45Z")

</div>

Hello&nbsp;[@Peter\_Youssef](https://community.dynatrace.com/user/51369)&nbsp;,

In my opinion, if you want to manage users from api you have to use the account management api : [Account Management API — Dynatrace Docs](https://www.dynatrace.com/support/help/dynatrace-api/account-management-api#account-management-api)

This api use a specific authentification method described here :

> **[Authenticate to Account Management with OAuth clients](https://docs.dynatrace.com/docs/manage/account-management/identity-access-management/oauth)**
>
> Manage authentication and user permissions for the Account Management API.

Regards.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 24, 2023, 10:06am UTC](https://community.dynatrace.com/t/users-api/38121/3 "2023-01-24T10:06:28Z")

</div>

hi&nbsp;[@AurelienGravier](https://community.dynatrace.com/user/44995)

Thanks for reaching me.

I’ve found it through CMC:

- Settings \> API tokens \> cluster token \> define the scope (ServiceProvider API).
- Task completed successfully

Thanks.
