Appearance
Delete a user
About 132 wordsLess than 1 minute
apiUsers
2025-03-13
MethodPOST
Request URL
/plugin/datafor-auth/api/user/delete
Authorization
Use of this API requires authentication. The current user's user type must be Administrator.
Content Typeapplication/x-www-form-urlencoded
Request Example
username: dev
Request Schema
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | no | none |
├── username | body | string | yes | The username of the user to delete. |
Response Examples
{
"success": true,
"username": "dev"
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | The request was successful. | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
success | boolean | Yes | none | Whether the operation was successful. |
username | string | No | none | The username of the deleted user. |