Remove Service (IDP) ⚡
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.
Authorizations
Authenticate every request with a Service Access Token or Organization Token.
Set the token value in the Authorization: Bearer <token> header.
Service Access Token: Scoped to a single service. Use when automating service-level configuration or runtime flows.
Organization Token: Scoped to the organization; inherits permissions across services. Use for org-wide automation or when managing multiple services programmatically.
Both token types are issued by the Authlete console or provisioning APIs.
Body
The numeric ID of the organization the service belongs to.
The numeric ID of the service to delete.
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.
Response
Service removed successfully.