Create cube

POST {{baseUrl}}/api/v2/cubes

Request Body

{"name"=>"Test Cube 1", "description"=>"Created through Rest API", "folderId"=>"{{publicReportsFolderId}}", "overwrite"=>true, "definition"=>{"availableObjects"=>{"attributes"=>[{"id"=>"8D679D4B11D3E4981000E787EC6DE8A4", "name"=>"Region", "type"=>"attribute"}, {"id"=>"8D679D3511D3E4981000E787EC6DE8A4", "name"=>"Call Center", "type"=>"attribute"}], "metrics"=>[{"id"=>"4C05177011D3E877C000B3B2D86C964F", "name"=>"Revenue"}]}}}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-ProjectIDstring
X-MSTR-AuthTokenstring
acceptstring
Content-Typestring