DeletePolicy
GET /?Action=DeletePolicy
Description
Deletes a managed policy.
Before removing a managed policy, you must detach all users or groups attached to it and remove all the versions of the policy using the DeletePolicyVersion
method.
Body parameter
Required: false
Name: DeletePolicyRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
PolicyArn |
The unique resource identifier of the policy you want to delete. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DeletePolicyResponse |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |