Skip to main content
DELETE
/
api
/
shop
/
marketplace
/
offers
/
{offerId}
/
detach_screenshot
Detach screenshot
curl --request DELETE \
  --url https://skycoach.gg/api/shop/marketplace/offers/{offerId}/detach_screenshot \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "screenshot_url": "/storage/uploads/product_currency_offer/screenshot/550e8400-e29b-41d4-a716-446655440000.jpg"
}
'
{
  "message": "ok",
  "screenshots": [
    "/storage/uploads/product_currency_offer/screenshot/example.jpg"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required

API response format

Available options:
application/json

Path Parameters

offerId
integer
required

ID of the offer to detach screenshot from

Example:

123849

Body

application/json
screenshot_url
string
required

URL of the screenshot to remove

Example:

"/storage/uploads/product_currency_offer/screenshot/550e8400-e29b-41d4-a716-446655440000.jpg"

Response

Success

message
string
Example:

"ok"

screenshots
string[]

Remaining screenshots after removal