delete-role-batch
DELETE
/users/roles/batchDelete the role of given Users. Their roles will be set to null which is equivalent to the most basic role.
Request
Header Params
Authorization
string
required
Example:
Bearer {{token}}
Body Params application/json
userIds
array[integer]
optional
userEmails
array[string]
optional
role
string
required
Example
{
"userIds": [
2
],
"role": "moderator"
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
Not configured
Last modified: 2 年前