octoprint-open-api/openapi/paths/access/groups/post.yaml
2020-11-03 23:31:30 +01:00

23 lines
600 B
YAML

summary: Add a new group
operationId: addGroup
tags:
- Groups
description: >-
Adds a new group to the system.
requestBody:
$ref: ../../../components/requestBodies/GroupRegistrationReq.yaml
responses:
"200":
description: >-
List of all groups on the system
content:
application/json:
schema:
$ref: ../../../components/schemas/access/GroupList.yaml
"400":
description: >-
If any of the mandatory fields is missing or the request is otherwise invalid
"409":
description: >-
Conflict: A group with the provided key does already exist