POST
/
merchant
/
member
/
update_member_role
curl --request POST \
  --url https://api.unibee.top/merchant/member/update_member_role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "memberId": 123,
  "roleIds": [
    123
  ]
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
memberId
integer

The unique id of member

roleIds
integer[]

The id list of role

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string