24 Oct 2025 07:40 AM
We are receiving a 403 forbidden resources error when calling the following account management Api endpoint:
https://api.dynatrace.com/iam/v1/accounts/<account-uuid>/users
This API is used in our automation process to terminate users who have moved out of the company.
The API token used for authentication is linked to an oauth client under our Dynatrace SAAS account. We have confirmed that the account UUID is correct. Kindly advise on how to resolve this.
24 Oct 2025 10:01 AM - edited 24 Oct 2025 10:02 AM
Hi @Archana567_ ,
It seems the bearer is not being used propertly. Here you have this great post about automating oAuth token generation.
Hope it helps.
Regards,
Elena.