Servers
Delete a given server
DELETE
If the server has been provisioned by Devopness, the server's instance will be removed from the cloud provider too.
server_id*integerThe ID of the server.
Range
1 <= valuedestroy_server_disks?booleanIndicates whether disks associated with a cloud server should be deleted after the server is destroyed
Accept*stringapplication/json
Content-Type*stringapplication/json
No Content
curl -X DELETE 'https://api.devopness.com/servers/123?destroy_server_disks=true' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json'Example Response
Empty