Disable service in environment.
post/midgard/v0.1/service/{serviceIdOrSlug}/disable
Disables the service in the given environment for the current user.
Request
Authorization
X-AT
header
apiKey
Path Parameters
serviceIdOrSlugService ID or slug.
string
REQUIRED
Body
application/json
environmentId
integer
REQUIRED
Response
200Service disable operation succeeded.
403Access denied.
404Service or environment not found.
500Service disable failed.
Shell cURL
shell
Show schema
json