Logo
MicroStrategy REST API API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
type
number (Required) Object type, which corresponds to a value from [EnumDSSXMLObjectTypes](https://lw.microstrategy.com/msdz/msdl/GARelease_Current/docs/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLObjectTypes.html)
flags
number Object update flags, which corresponds to a value from [EnumDSSXMLObjectFlags](https://lw.microstrategy.com/msdz/msdl/GARelease_Current/docs/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLObjectFlags.html)
fields
string Comma-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.



HEADERS

Curl
curl -X PUT 'baseUrl/api/objects/:folderId?type=8&flags=70?type=8&flags=70&fields=sed minim' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Content-Type: application/json' -d '{"name":"Manage Object Test Folder","description":"","abbreviation":"","acl":[{"op":"Remove","trustee":"0AA72D6042B938FF3FBED3AAC39349F5","rights":199,"denied":false,"inheritable":true,"type":1}],"propagateACLToChildren":true}'

ENDPOINTS

    Key Datatype Required Description 
    X-MSTR-AuthToken
    string (Required) Authorization token
    X-MSTR-ProjectID
    string Project ID