Skip to main content
PUT
/
v1
/
user
/
store
/
{storeId}
/
members
/
{userId}
/
role
Update Member Role
curl --request PUT \
  --url https://storekit.samarthh.me/v1/user/store/{storeId}/members/{userId}/role \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "ADMIN"
}
'

Headers

Content-Type
string

Path Parameters

storeId
string
required
userId
string
required

User ID of the member

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response