File a project
PUT
https://api.vidmoat.com/v1/projects/{id}/workspaceFile a project into a workspace, or send workspaceId: null to take it out.
Path parameters#
idstringrequiredThe project id.
Body#
workspaceIdstring or nullThe workspace, ornull(or an empty string) to unfile the project.
Response#
Returns 200.
Response fields#
idstringThe project id.workspaceIdstring or nullThe workspace it is now filed in, ornullwhen it was moved out of every workspace.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such project or workspace. |
| 400 | invalid_request | The project and the workspace belong to different teams. |