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
}
'Update API key details (name, permissions, active status). Cannot change the key value itself.
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
}
'