Deletes a user group.
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 UUID of the required user group.
Success. The group has been deleted. The response doesn't have a body.
In this example, the request deletes the user group created in the POST request example. The response code of 200 indicates that the deletion was successful.
curl --request DELETE \--url 'https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/groups/a468e0e0-ef8f-45d8-9b0f-e016984d838b' \--header 'Authorization: Bearer abcdefjhij1234567890'
https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/groups/a468e0e0-ef8f-45d8-9b0f-e016984d838b
200