Skip to main content
POST
/
api
/
v1
/
accounts
/
command
/
Refresh
Refresh credentials for an execution account
curl --request POST \
  --url https://api.plurex.io/api/v1/accounts/command/Refresh \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>' \
  --data '
{
  "clientRequestId": "<string>",
  "accountId": "<string>",
  "credential": {
    "type": "ApiKey",
    "publicKey": "<string>",
    "secretKey": "<string>"
  }
}
'
{
  "traceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "serverTime": "2023-11-07T05:31:56Z",
  "data": {
    "id": "<string>",
    "tenantId": "<string>",
    "hostId": "<string>",
    "targetVenueId": "<string>",
    "isPaper": true,
    "name": "<string>",
    "credential": {
      "credentialType": "ApiKey",
      "publicValue": "<string>"
    }
  },
  "warnings": [
    "<string>"
  ]
}

Authorizations

X-API-KEY
string
header
required
X-API-SECRET
string
header
required

Body

application/json
clientRequestId
string
required

Client-generated nonce for idempotency. Recommended to be unique per tenant scope.

accountId
string
required
credential
object
required

Response

200 - application/json

Successful response

traceId
string<uuid>
required

Unique identifier for tracing.

serverTime
string<date-time>
required

RFC3339 timestamp of processing.

data
object
required

The actual payload of the successful response.

warnings
string[]