To change the state of a dev space to Running perform the following steps:
-
In your browser, get a list of all workspaces contained in a specific subaccount:
https://<sap-business-application-studio-url>/ws-manager/api/v1/workspace?all=true
-
Enter your administrator credentials in the login page.
-
From the list provided, identify the dev space you want to wake up (for example by searching for the username property).
-
Copy the
id
property under theconfig
section . This ID is the<ws-id>
parameter used in the request below. -
Copy the
displayname
property under thelabels
section . This display name is the<display-name>
parameter used in the request below. -
Open a new tab in the browser and fetch your JWT token by sending the following request:
GET https://<sap-business-application-studio-url>/jwt
-
Copy the JWT value from the response.
-
In the REST API tool, send a PUT HTTP request to the following API:
PUT https://<sap-business-application-studio-url>/ws-manager/api/v1/workspace/<ws-id> Request Header: X-Approuter-Authorization: Bearer <JWT_Token> Request Body: {"WorkspaceID":"<ws-id>", "Suspended":false, "WorkspaceDisplayName":"<display-name>"}