RenameContainerΒΆ
- Required for
iOS Android
-
POST/wopi/containers/(container_id)ΒΆ The RenameContainer operation renames 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
RENAME_CONTAINER. Required.X-WOPI-RequestedName β A UTF-7 encoded string that is a container name. Required.
- Response Headers
X-WOPI-InvalidContainerNameError β A string describing the reason the RenameContainer operation could not be completed. This header should only be included when the response code is 400 Bad Request. This string is only used for logging purposes.
- Status Codes
200 OK β Success
400 Bad Request β Specified name is illegal
401 Unauthorized β Invalid access token
404 Not Found β Resource not found/user unauthorized
409 Conflict β Target container already exists
500 Internal Server Error β Server error
501 Not Implemented β Operation not supported
See also
- Standard WOPI request and response headers
In addition to the request/response headers listed here, this operation may also use the Standard WOPI request and response headers.