---
title: "Unlink service"
method: DELETE
path: "/env-groups/{envGroupId}/services/{serviceId}"
tags: ["Environment Groups"]
---

# Unlink service

`DELETE /env-groups/{envGroupId}/services/{serviceId}`

Unlink a particular service from a particular environment group.

The service will lose access to the environment variables and secret files in the group.

## Path parameters

- `envGroupId` string, required
- `serviceId` string, required

## Response `204`

service unlinked from environment group

## Other responses

- `400` — The request could not be understood by the server.
- `401` — Authorization information is missing or invalid.
- `404` — Unable to find the requested resource.
- `429` — Rate limit has been surpassed.
- `500` — An unexpected server error has occurred.
- `503` — Server currently unavailable.

---

[API](https://skmtc.dev/render/apis/render-public-api.md) · [All operations](https://skmtc.dev/render/apis/render-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/render/render-public-api/revisions/80e0ff74d033/schema)
