Deletes the given service.
Required permission
Project > Services > General > Delete
Path parameters
projectId
string requiredID of the projectserviceId
string requiredID of the service
Query parameters
delete_child_objects
booleanIf true, platform volumes owned by or attached to this service are also deleted. Per-replica statefulSet volumes are service-owned and always deleted with the service.
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
DELETE /v1/projects/{projectId}/services/{serviceId}
DELETE /v1/teams/{teamId}/projects/{projectId}/services/{serviceId}
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}