User management API - DELETE a user
Deletes a user from your Dynatrace account.
DELETE |
|
Authentication
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.
Parameters
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.
Response
Response codes
Success. The user has been deleted. Response doesn't have a body.
Example
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'
Request URL
https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/users/mary.williams@company.com
Response code
200