Deletes a policy boundary by uuid within a level. You can't delete a global-level boundary, as these are managed by Dynatrace.
DELETE |
|
To execute this request, you need the Allow IAM policy configuration for environments (iam-policies-management) permission assigned to your token. To learn how to obtain and use it, see OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| policyBoundaryUuid | - | The ID of the required boundary. | path | required |
| accountId | - | The ID of the policy boundary level. Use the UUID of the account. | path | required |
In this example, the request deletes a policy boundary with policy boundary UUID of 9a7b6c54-3d2e-4f10-a8b2-7cde9012f345 for the accountID f1a2b3c4-d5e6-7890-ab12-34cd56ef7890.
curl --request DELETE \--url https://api.dynatrace.com/iam/v1/repo/account/f1a2b3c4-d5e6-7890-ab12-34cd56ef7890/boundaries/9a7b6c54-3d2e-4f10-a8b2-7cde9012f345 \--header 'Authorization: Bearer abcdefjhij1234567890'
https://api.dynatrace.com/iam/v1/repo/account/f1a2b3c4-d5e6-7890-ab12-34cd56ef7890/boundaries/9a7b6c54-3d2e-4f10-a8b2-7cde9012f345
204 - Successful response - policy boundary deleted.