Logo
MicroStrategy REST API API Documentation

Purge Change Journal entries for specific project (list of projects)

DELETE {{baseUrl}}/api/changeJournal?purgeAllProjects=false&timestamp=03/01/2023 00:00:00 AM&comment=&projects.id={{projectId}}

 

Body PARAM

Key Datatype Required Description 
purgeAllProjects
boolean Specifies whether all projects should be purged
timestamp
string Delete Change Journal entries older than the timestamp. Date and time format: 'MM-dd-yyyy hh:mm:ss AM|PM'
comment
null Comment for purge operation
projects.id
string Project id collection which is used for filtering data, for example 'B19DEDCC11D4E0EFC000EB9495D0F6E2,A232EDCC11D4E0EFC000EB9495D0F6E2' NOTE: Project id collection will be ignored if purgeAllProjects flag set to true.
fields
null 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

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
Curl
curl -X DELETE 'baseUrl/api/changeJournal?purgeAllProjects=false&timestamp=03/01/2023 00:00:00 AM&comment=&projects.id=projectId?purgeAllProjects=false&timestamp=03/01/2023 00:00:00 AM&comment=&projects.id=projectId&fields=' -H 'X-MSTR-AuthToken: authToken' -H 'Accept: application/json'

ENDPOINTS