Skip to main content
PUT
/
api
/
v1
/
link
/
update-discord
Update Discord ID
curl --request PUT \
  --url https://api.docksys.xyz/api/v1/link/update-discord \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "message": "Discord ID updated successfully",
  "data": {
    "discordId": "67890",
    "robloxId": "12345"
  },
  "timestamp": "2025-09-27T20:12:56Z",
  "version": "1.0.0",
  "requestsRemaining": 499,
  "ipRequestsRemaining": 499
}
Write Endpoint Authenticated Link Management
Use this endpoint when you need to replace the Discord ID attached to an existing Dock link while preserving the rest of the linked record.

Authorizations

Authorization
string
header
required

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

Query Parameters

oldDiscordId
string
required

The old Discord user ID.

newDiscordId
string
required

The new Discord user ID.

guildId
string
required

The Discord guild ID.

Response

Discord ID updated successfully.

status
enum<integer>

The HTTP status code of the response.

Available options:
200
message
string

A message describing the result.

data
object
timestamp
string<date-time>

The timestamp of the response in ISO 8601 format.

version
string

The API version.

Example:

"1.0.0"

requestsRemaining
integer | null

Number of requests remaining in the daily quota.

ipRequestsRemaining
integer | null

Remaining IP-linked quota shared across API keys detected on the same IP.