Publishing a Location
You can use this API toyou to change the status of location to publish.
Request
-
HTTP Method: PUT
-
URL: Application_URL/services/api/v1/location({id})/publish
-
Example URL: Application_URL/services/api/v1/location(E0B15BE85E2B41FBA06069B8D61CEB09)/publish
-
Authorization: You must have the roles FUNCTIONAL_LOCATION EDIT or FUNCTIONAL_LOCATION_DELETE assigned to your user ID in the SAP Cloud Platform account.
Response
- If a location with specified ID exists and you have appropriate authorizations to publish it, system publishes the location and returns the location details
For more information, see https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location__id___publish_put.
- If a location with specified ID does not exist, or you do not have appropriate authorizations to view it, system returns appropriate error codes.
For more information, see https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location__id___publish_put.