Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ number and email address.
| [POST /users](#post-users) | Creates a new User |
| [PATCH /users/self](#patch-usersself) | Updates data of the User |
| [PATCH /users/:id/temporary/data](#patch-usersidroles) | Updates user roles |
| [PATCH /users](#patch-users) | Archive users if not in discord |
| [POST /users](#post-users-1) | Archive users if not in discord |

## **GET /users**

Expand Down Expand Up @@ -305,7 +305,7 @@ Updates roles for the User.
- **Content:**
`{ 'statusCode': 500, 'error': 'Internal Server Error', 'message': 'An internal server error occurred' }`

## PATCH /users
## POST /users

Archive users if not in Discord.

Expand All @@ -321,7 +321,8 @@ Archive users if not in Discord.

```json
{
"action": "nonVerifiedDiscordUsers | archiveUsers"
"action": "archive",
"on": "in_discord"
}
```

Expand Down