---
title: "Remove Service (IDP) ⚡"
method: POST
path: "/api/service/remove"
tags: ["Service Management"]
---

# Remove Service (IDP) ⚡

`POST /api/service/remove`

Delete a service from the API server.
A service can be deleted with an organization token or by a user with the MODIFY_SERVICE role.

This endpoint is hosted on the Authlete IdP server (`https://login.authlete.com`),
not on the regional API clusters.

## Request body

- ServiceRemoveIdpRequest
  - `apiServerId` integer — The numeric ID of the API server the service belongs to. Official SDKs inject this automatically for known Authlete clusters, so it can be omitted there; all other callers must provide it.
  - `organizationId` integer, required — The numeric ID of the organization the service belongs to.
  - `serviceId` integer, required — The numeric ID of the service to delete.

## Response `204`

Service removed successfully.

## Other responses

- `400`
- `401`
- `403`
- `500`

## Changes

- **2026-08-03** `7ad74ab64749` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authlete/apis/authlete-api/changes/api/service/remove/post.md)

---

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