Updates a custom policy
PUT/iam/policies/:id
This operation overwrites all fields excepting ID, including those omitted from the request, so be sure to specify all properties. Properties that you do not include are reset to empty values. The only exception is the policy ID, which is immutable; it can only be set at creation time.
While you can use this endpoint to update members on a policy, if that is the only property you wish to modify use one of these endpoints instead: Add policy members, Remove policy members, or Replace policy members.
Authorization Action:
iam:policies:update
Request
Responses
- 200
- default
A successful response.
An unexpected error response.