Service
Deactivate a service
Changed onDeactivate exactly one service while preserving its configuration and related data.
Available during maintenance. Requires Service:UpdateService and Service:GetService for both the current and inactive service. An already-inactive service is a read-only success. This does not terminate existing conversations or background processing. After an uncertain response, read the exact service before deciding what to do next.
post/v1/{organization}/service/{service_id}/deactivate/
Request
- Base URLhttps://api.amigo.ai
- AuthHTTP bearer and API key in header X-ORG-ID and HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
service_idstring required
The exact identifier of the service.
organizationstring required
Headers
x-mongo-cluster-namestring nullable
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Sec-WebSocket-Protocolstring[]
Request body
Response
Successful Response
Changes
- info
endpoint added
- info