application/json

Body Required

  • id string(uuid)
  • role string

    Values are USER, PROVIDER, ASSOCIATE_PROVIDER, BUSINESS, SUPER_ADMIN, ADMIN, MANAGER, or TEAM.

  • position string
  • department string

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data string
PATCH /scope/admin/account/role
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/scope/admin/account/role' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY" \
 --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"
}