Closed dbrnz closed 8 years ago
This is due to invalid permission as the client at hand does not have permission at all as stated in by the 403 error code in the HTTP header (as I believe you were using the OAuth method). Also this operation is also not enabled due to it not being supported in the production instance, and that default content forms (basically anything not directly linked/exported by the webservice) is considered not supported by this package. Unfortunately this is not a feature that will be provided by this package at all.
Within a web-browser, the "Advanced" option (available under the right hand pulldown of a workspace's view:
/content_status_history
) allows for an expiration date to be assigned to a workspace. Setting an expiry date in the past effectively deletes the workspace as it no longer appears in "My Workspaces".Can this be done with the PMR web service? Documentation at http://aucklandphysiomerepository.readthedocs.io/en/latest/webservice.html suggests to first obtain a template and then use this information to construct a form to submit. However attempts to get a template result in a 403 response:
What is the recommended way to remove unwanted workspaces?