DeleteContainer
POST /wopi/containers/(container_id)
The DeleteContainer
operation deletes a container.
Parameters
- container_id (string) – A string that specifies a container ID of a container managed by host. This string must be URL safe.
Query Parameters
- access_token (string) – An access token that the host will use to determine whether the request is authorized.
Request Headers
- X-WOPI-Override – The string
DELETE_CONTAINER
. Required.
Status Codes
200 OK – Success
404 Not Found – Resource not found/user unauthorized
409 Conflict – Container has child files/containers
500 Internal Server Error – Server error
501 Not Implemented – Operation not supported
Note
In addition to the request/response headers listed here, this operation may also use the Standard WOPI request and response headers.