Delete a route from the user’s zo.space site.
Removes the route from the database and syncs filesystem to regenerate manifests and restart server.
cURL
curl --request DELETE \ --url https://api.zo.computer/space/routes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "path": "<string>" } '
{ "success": true }
Zo API key (zo_sk_...)
Request body for deleting a route.
Route path to delete, e.g. '/api/hello' or '/about'
Successful Response
True if the operation completed successfully