keitaro-api-skill/references/paths/streams_id_disable.yaml

34 lines
747 B
YAML

post:
tags:
- Flows (Streams)
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
description: Flow ID
required: true
schema:
type: integer
summary: Disable flow
description: Changes the state to 'disabled'
responses:
'200':
description: Flow details
content:
application/json:
schema:
$ref: ../schemas/Stream.yaml
'400':
$ref: ../responses/BadRequest.yaml
'401':
$ref: ../responses/Unauthorized.yaml
'402':
$ref: ../responses/PaymentRequired.yaml
'404':
$ref: ../responses/NotFound.yaml
'406':
$ref: ../responses/NotAcceptable.yaml
'500':
$ref: ../responses/InternalError.yaml