Put User Permissions Boundary
POST /iam?Action=PutUserPermissionsBoundary
Add/Update the User's PermissionsBoundary Policy.
Query Parameters
PermissionsBoundary | Arn of the Policy which is to be set as Permission Boundary for the user. |
UserName | Urn of the user whose Permission Boundary is to be added/updated. |
Required Roles
This call has no restrictions.
Request Payload
No Request Payload
Response Body
Field |
Description |
Type |
Notes |
PutUserPermissionsBoundaryResponse |
|
|
|
ResponseMetadata |
|
|
|
RequestId |
|
String |
|
Examples
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&PermissionsBoundary=urn:ecs:iam:::policy/ECSS3FullAccess&Action=PutUserPermissionsBoundary
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:PutUserPermissionsBoundaryResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:9dbc:d2</RequestId>
</ResponseMetadata>
</ns2:PutUserPermissionsBoundaryResponse>
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&PermissionsBoundary=urn:ecs:iam:::policy/ECSS3FullAccess&Action=PutUserPermissionsBoundary
Accept: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
{
"ResponseMetadata": {
"RequestId": "0af9f5b8:17178fe9282:9fa3:37"
}
}
Request
curl -H $token -H "Content-Type: application/xml" -H "x-emc-namespace: <namespace>" -X POST https://$nodeIp:4443/iam?UserName=tt1&PermissionsBoundary=urn
Response
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:PutUserPermissionsBoundaryResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:9dbc:d2</RequestId>
</ResponseMetadata>
</ns2:PutUserPermissionsBoundaryResponse>