Move a project to trash
DELETE
/v1/projects/{projectId}curl -X DELETE 'https://api.embodiflow.io/v1/projects/{projectId}' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- projectIdstringrequired
Header parameters
- If-Matchstring
Optional precondition. A matching tag proceeds and returns the new ETag. A stale tag returns 412 PRECONDITION_FAILED with no write. Absent proceeds (opt-in this release). If-Match: * succeeds when the resource exists. Malformed values return 400 IF_MATCH_INVALID.
Responses
Moved to trash
- dataobjectrequired
- typestringrequiredAllowed valuesprojectversionrecordingepisodemodel
- idstringrequired
- deletedAtstringrequired
- restoreUntilstringrequired
Response example
{
"data": {
"type": "project",
"id": "string",
"deletedAt": "string",
"restoreUntil": "string"
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1