跳到主要内容
版本:v0.6

Stop for an environment of a project.

Stop for an environment.

Stop for an environment of a project.

Path Parameters
    project string required
    environment string required
Request Body required
    preview boolean

    Default value: false

Responses

OK


Schema
    message string
    status integer

    Default value: 200

    statusText string

    Default value: OK

POST /v1/projects/:project/environments/:environment/stop

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
project — path required
environment — path required
Body required
{
"preview": false
}
curl / cURL
curl -L -X POST 'https://seal-io.github.io/v1/projects/:project/environments/:environment/stop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"preview": false
}'