Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

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

application/json
organizationId
integer<int64>
required

The numeric ID of the organization the service belongs to.

serviceId
integer<int64>
required

The numeric ID of the service to delete.

apiServerId
integer<int64>

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.