chore(docs): Generated API Reference (#3718)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
51d0b88404
commit
70435d5631
@@ -0,0 +1,6 @@
|
||||
curl --location --request DELETE 'https://medusa-url.com/admin/uploads' \
|
||||
--header 'Authorization: Bearer {api_token}' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"file_key": "{file_key}"
|
||||
}'
|
||||
5
docs/api/admin/code_samples/Shell/admin_uploads/post.sh
Normal file
5
docs/api/admin/code_samples/Shell/admin_uploads/post.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
curl --location --request POST 'https://medusa-url.com/admin/uploads' \
|
||||
--header 'Authorization: Bearer {api_token}' \
|
||||
--header 'Content-Type: image/jpeg' \
|
||||
--form 'files=@"<FILE_PATH_1>"' \
|
||||
--form 'files=@"<FILE_PATH_1>"'
|
||||
Reference in New Issue
Block a user