Publish or unpublish an API version
PUT {{baseUrl}}/apis/:owner/:api/:version/settings/lifecycle?force=false
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
force | boolean | To publish an API that references unpublished domains, this parameter must be true . Otherwise, the request will be rejected with status code 424. |
Request Body
{"published"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
""