Skip to main content
PATCH
/
{shopId}
/
users
/
{userId}
Remove user role access
curl --request PATCH \
  --url http://staging.qshop.ng/apiv2/{shopId}/users/{userId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": {
    "action": "suspend",
    "key": "assistant"
  }
}
'

Path Parameters

userId
string
required
Example:

"61a956551a113f7e13c45c10"

Body

application/json
role
object

Response

200 - undefined