/api/v4/accounts/{accountId}/devices/{deviceId}

Endpoint to update a device in the system

Required Scopes

The API Key calling this endpoint must have one of the following scopes:

  • pcx:devices:*
  • pcx:devices:update
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^\d{12}$

Numeric ID of the account

string
required
length ≤ 40
^dvc_[a-z-0-9]{7,40}

The alphanumeric reference for the specific object

Body Params

Update a device record for the account

string | null
^[A-Za-z0-9_\- ]{1,25}$
Defaults to null

The label for the device

string
length between 1 and 30
^[a-zA-Z0-9]{1,30}$

The serial number of the device

string | null
^[a-zA-Z0-9]{1,25}$
Defaults to null

The alias for the device

string
enum

The type of device used to run a transaction

boolean
Defaults to true

It describes if the status is enabled (true) or not (false)

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json