Skip to main content
PUT
/
api
/
shop
/
marketplace
/
offers
/
{offerId}
/
credentials
/
replace_all
Replace all credentials (batch replace)
curl --request PUT \
  --url https://skycoach.gg/api/shop/marketplace/offers/{offerId}/credentials/replace_all \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "credentials": [
    {
      "login": "user@example.com",
      "game_password": "SecurePass123",
      "email": "jsmith@example.com",
      "email_password": "<string>",
      "is_2fa_active": true,
      "comment": "<string>"
    }
  ]
}
'
{
  "result": {
    "message": "Credentials replaced successfully",
    "replaced": 5
  }
}

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
Example:

123

Body

application/json
credentials
object[]
required
Required array length: 1 - 1000 elements

Response

Success

result
object