DetachUserPolicy
GET /?Action=DetachUserPolicy
Description
Removes a managed policy from a specific user.
Body parameter
Required: false
Name: DetachUserPolicyRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
PolicyArn |
The unique resource identifier for the policy (between 20 and 2048 characters). |
true |
string |
||
UserName |
The friendly name of the user you want to detach the policy from (length between 1 and 64). |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DetachUserPolicyResponse |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |