Rename Application
post
/essbase/rest/v1/applications/actions/rename
Renames an application. You must provide the source and destination application names.
Request
Supported Media Types
- application/json
- application/xml
Source and destination application information.
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
Application renamed successfully.
400 Response
Bad Request
Failed to rename application.
500 Response
Internal Server Error.
Examples
The following example shows how to rename 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 POST "https://myserver.example.com:9001/essbase/rest/v1/applications/actions/rename" -H "accept: application/json" -H "Content-Type: application/json" -d '{ "from": "Sample_copy", "to": "Sample_new"}' -u %User%:%Password%