Skip to content

Commit

Permalink
Doc: add "delete user from group" endpoint and fix "list groups" endp…
Browse files Browse the repository at this point in the history
…oint (#121)
  • Loading branch information
paulineribeyre committed Dec 12, 2019
1 parent b8fe362 commit c352e37
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -956,10 +956,10 @@ paths:
content:
application/json:
schema:
type: array
items:
type: string
example: 'group'
type: object
properties:
groups:
$ref: '#/components/schemas/Group'
post:
tags:
- group
Expand Down Expand Up @@ -1113,6 +1113,30 @@ paths:
provided, or user doesn't exist
404:
description: group does not exist
/group/{groupName}/user/{username}:
parameters:
- in: path
name: groupName
required: true
schema:
type: string
description: the groupName for a group registered in arborist
- in: path
name: username
required: true
schema:
type: string
description: the username for the user to remove from the group
- $ref: "#/components/parameters/authzProvider"
delete:
tags:
- group
description: Remove a user from this group.
responses:
204:
description: successfully removed user from group
500:
description: unable to remove user from group
components:
schemas:
AuthRequestBody:
Expand Down

0 comments on commit c352e37

Please sign in to comment.