Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated API name for "Archive users not In discord" API #150

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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