Skip to main content
PUT
/
v1
/
user
/
store
/
{storeId}
/
keys
/
{keyId}
Update API Key
curl --request PUT \
  --url https://storekit.samarthh.me/v1/user/store/{storeId}/keys/{keyId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated Key Name",
  "permissions": [
    "READ",
    "WRITE"
  ],
  "isActive": true
}
'

Headers

Content-Type
string

Path Parameters

storeId
string
required
keyId
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response