判断用户是否有某个角色

判断用户是否有某个角色,支持同时传入多个角色进行判断

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

用户 ID

roles
array of objects
required

角色列表

roles*
Headers
string

用户池 ID

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain