Undo update to folder's ACL

PUT {{baseUrl}}/api/objects/:folderId?type=8&flags=70

Update information for a specific object in a specific project; if you do not specify a project ID, the object info is updated in all projects. You identify the object with the object ID and object type. You obtain the authorization token needed to execute the request using POST /auth/login; you obtain the project ID using GET /projects. You pass the authorization token and the project ID in the request header. You specify the object ID in the path of the request. You specify the object type as a query parameter; possible values for object type are provided in EnumDSSXMLObjectTypes. You can refine how the information is updated using the 'flag' query parameter; you provide a bit-wise value from EnumDSSXMLObjectFlags. You provide the information to update the object in the body parameter of the request.

Request Params

KeyDatatypeRequiredDescription
typenumber(Required) Object type, which corresponds to a value from EnumDSSXMLObjectTypes
flagsnumberObject update flags, which corresponds to a value from EnumDSSXMLObjectFlags
fieldsstringComma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.

Request Body

{"name"=>"Manage Object Test Folder", "description"=>"", "abbreviation"=>"", "acl"=>[{"op"=>"Remove", "trustee"=>"0AA72D6042B938FF3FBED3AAC39349F5", "rights"=>199, "denied"=>false, "inheritable"=>true, "type"=>1}], "propagateACLToChildren"=>true}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
X-MSTR-ProjectIDstringProject ID
Content-Typestring