Delete repository
Delete a repository in your site
DELETE api/servers/{server}/sites/{site}/repository
Example request:
curl -X DELETE "https://ploi.io/api/servers/{server}/sites/{site}/repository" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"id": 90,
"domain": "domain.com",
"web_directory": "/public",
"wordpress": false,
"laravel": false,
"project_root": "/",
"last_deploy_at": "2018-09-14 20:43:11",
"created_at": "2018-09-14 11:40:01"
}
}