Delete Server Variable

delete

/essbase/rest/v1/variables/{variableName}

Deletes the given substitution variable from the server.

Request

Path Parameters
Back to Top

Response

204 Response

OK

Variable deleted successfully.

400 Response

Bad Request

Failed to delete the variable. The variable name may be incorrect.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to delete a global variable from the Essbase Server.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

Script with cURL Command

call properties.bat
curl -X DELETE "https://myserver.example.com:9001/essbase/rest/v1/variables/NextMonth?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%
Back to Top