Deletes a user from your Dynatrace account.
DELETE |
|
To execute this request, you need the Allow write access for identity resources (users and groups) (account-idm-write
) scope assigned to your token. To learn how to obtain and use it, see OAuth clients.
The ID of the required account.
You can find the UUID on the Account Management > Identity & access management > OAuth clients page, during creation of an OAuth client.
The email address of the required user.
Success. The user has been deleted. Response doesn't have a body.
In this example, the request removes the user with the email address mary.williams@company.com from the account. The response code of 201 indicates that the deletion has been successful.
curl --request DELETE \--url 'https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/users/mary.williams@company.com' \--header 'Authorization: Bearer abcdefjhij1234567890'
https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/users/mary.williams@company.com
200