Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request POST /api/v2/projects/8lMsjCqIFyrFpZt4oMbv/private 200 { "is_public": false }
// If :project_id is not found POST /api/v2/projects/not-found-id/private 404 { "error": "project not found" }
// Is private already POST /api/v2/projects/6MKBdzL65moYN9DzLclP/private 400 { "error": "Project is private already" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |