Skip to content

Commit

Permalink
MG-1529 - User Removal (#2122)
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo authored Jun 28, 2024
1 parent 0794363 commit 2fe2f85
Show file tree
Hide file tree
Showing 67 changed files with 1,805 additions and 1,137 deletions.
26 changes: 26 additions & 0 deletions api/openapi/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,32 @@ paths:
"500":
$ref: "#/components/responses/ServiceError"

delete:
summary: Delete a user
description: |
Delete a specific user that is identifier by the user ID.
tags:
- Users
parameters:
- $ref: "#/components/parameters/UserID"
security:
- bearerAuth: []
responses:
"204":
description: User deleted.
"400":
description: Failed due to malformed query parameters.
"401":
description: Missing or invalid access token provided.
"404":
description: A non-existent entity request.
"405":
description: Method not allowed.
"422":
description: Database can't process request.
"500":
$ref: "#/components/responses/ServiceError"

/users/{userID}/tags:
patch:
operationId: updateUserTags
Expand Down
Loading

0 comments on commit 2fe2f85

Please sign in to comment.