Dell Technologies ECS REST API

Search (SHIFT+S)




Set Object Acl

POST /rest/objects/objectID?{acl}

Sets ACL for a pure object without namespace.

URL Format

/rest/objects/objectID?{acl}


Query Parameters

acl

Request Headers

"Content-Length" required
"x-emc-date" required
"x-emc-uid" required
"x-emc-signature" required
"x-emc-utf8" requiredOnly required if metadata values are in Unicode.
"x-emc-wschecksum" requiredRequired if the application must conform to SEC 17a-4f standards.
"x-emc-listable-meta" optionalor "x-emc-meta"
"x-emc-groupacl" optionalor "x-emc-useracl"

Request Payload

No Request Payload


Response Body


Examples

Request
> POST /rest/objects/0460803141287f13f2cee0b6f592888f5b17ef8b02f4b25c4c3254e2243d5be4-f8ca6177-3d32-4692-91f6-60d902745d3d?acl HTTP/1.1
> Host: 192.168.0.0:9022
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type:text/plain
> x-emc-date:Mon, 20 Feb 2017 23:30:22 GMT
> x-emc-uid:b078f1e44dbc424dbe93fc000c527d5a/atmos_usr
> x-emc-signature:gua4+YQBE5+HQTiexWweFAONmcI=
> x-emc-useracl: b078f1e44dbc424dbe93fc000c527d5a/atmos_usr=WRITE
Response
< HTTP/1.1 200 OK
< Date: Mon, 20 Feb 2017 23:30:24 GMT
< x-emc-policy: _int
< x-emc-request-id: 0af9f566:15a43dc3b15:167e5:0
< Content-Length: 0
< Server: ViPR/1.0