curl --request PUT \
--url https://storekit.samarthh.me/v1/auth/admin/profile \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Admin Name",
"avatar": "https://example.com/admin-avatar.jpg"
}
'Update admin profile (name, avatar). Requires ADMIN role authentication.
curl --request PUT \
--url https://storekit.samarthh.me/v1/auth/admin/profile \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Admin Name",
"avatar": "https://example.com/admin-avatar.jpg"
}
'The body is of type object.
Successful response