Skip to content

Commit

Permalink
Merge pull request #1270 from AgoraIO/1594-bug-user-management-deleti…
Browse files Browse the repository at this point in the history
…ng-a-user

Fix delete user endpoint
  • Loading branch information
atovpeko authored Oct 31, 2024
2 parents 94682ab + 23d7ef8 commit 1a2eb70
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions shared/chat-sdk/restful-api/_user-system-registration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -477,20 +477,13 @@ For each App Key, the call frequency limit of this method is 100 per second.
### HTTP request

```html
DELETE https://{host}/{org_name}/{app_name}/users?limit={N}&cursor={cursor}
DELETE https://{host}/{org_name}/{app_name}/users/{username}
```

#### Path parameter

For the parameters and detailed descriptions, see [Common parameters](#param).

#### Query parameter

| Parameter | Type | Description | Required |
| :------- | :----- | :------------------------ | :------- |
| `limit` | Number | The number of users to delete. The value range is [1,100] with `10` as the default. | No |
| `cursor` | String | The position where to start deleting users. <br/> No cursor is required for the first request. For each subsequent request, the cursor is obtained from the body of response to the previous request. If the cursor is no longer returned, all users are deleted. | No |

#### Request header

| Parameter | Type | Description | Required |
Expand Down

0 comments on commit 1a2eb70

Please sign in to comment.