Change role
Body
Required
-
id
string(uuid) -
role
string Values are
USER
,PROVIDER
,ASSOCIATE_PROVIDER
,BUSINESS
,SUPER_ADMIN
,ADMIN
,MANAGER
, orTEAM
. -
position
string -
department
string
PATCH
/scope/admin/account/role
curl \
--request PATCH 'https://sandbox.serchservice.com/api/v1/scope/admin/account/role' \
--header "Content-Type: application/json" \
--data '{"id":"string","role":"USER","position":"string","department":"string"}'
Request examples
{
"id": "string",
"role": "USER",
"position": "string",
"department": "string"
}
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": "string"
}