7 lines
220 B
Bash
7 lines
220 B
Bash
curl --location --request POST 'https://medusa-url.com/admin/publishable-api-keys' \
|
|
--header 'Authorization: Bearer {api_token}' \
|
|
--header 'Content-Type: application/json' \
|
|
--data-raw '{
|
|
"title": "Web API Key"
|
|
}'
|