Delete Application Variable
delete
/essbase/rest/v1/applications/{applicationName}/variables/{variableName}
Deletes the specified substitution variable from the specified application.
Request
Path Parameters
-
applicationName(required): string
Application name.
-
variableName(required): string
Variable name.
Response
204 Response
No Content
Variable deleted successfully.
400 Response
Bad Request
Failed to delete the variable. The application name or variable name may be incorrect.
500 Response
Internal Server Error.
Examples
The following example shows how to delete a variable defined for an Essbase application.
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/applications/Sample/variables/NextMonth?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%