Skip to main content
PATCH
/
v2
/
account-offers
/
{account}
/
credentials
/
{credential}
Update a credential
curl --request PATCH \
  --url https://api.gameboost.com/v2/account-offers/{account}/credentials/{credential} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "credentials": "Login: updateduser\nPassword: newpass123"
}
'
{
  "data": {
    "id": 123,
    "credentials": "<string>",
    "account_offer_id": 123,
    "account_order_id": 123,
    "is_sold": true,
    "created_at": 123,
    "updated_at": 123
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

account
integer
required

The ID of the account offer

credential
integer
required

The ID of the credential

Body

application/json
credentials
string
required

The updated credential string

Maximum string length: 10000
Example:

"Login: updateduser\nPassword: newpass123"

Response

Credential updated successfully

data
object

A single credential entry for an account offer (new format)