2 Answers
- Newest
- Most votes
- Most comments
2
Hi - Not very clear what your ask is but yes you can use like detach-user-policy which removes the specified managed policy from the specified user.
1
The following document provides AWS SDK examples for detaching a policy from an IAM user - https://docs.aws.amazon.com/IAM/latest/UserGuide/example_iam_DetachUserPolicy_section.html
The example is only in Go, Python and Rust, but if you do not speak any of these languages, then you can find documentation details on the SDK in different langugages here - https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachUserPolicy.html
Relevant content
- asked 4 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 years ago
ok Thanks!