Skip to main content
PUT
/
v3
/
sites
/
{site}
/
cards
/
{card}
Update Card
curl --request PUT \
  --url https://app.plugchoice.com/api/v3/sites/{site}/cards/{card} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id_token": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "id_token": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}
Updates an existing RFID card for the specified location.
site
string
required
The UUID of the location.
card
string
required
The ID of the card.
name
string
required
The display name of the card. Maximum 255 characters.
id_token
string
required
The RFID token identifier. Maximum 20 characters.

Response

id
integer
The numeric ID of the card.
name
string
The display name of the card.
id_token
string
The RFID token identifier of the card.
created_at
string
ISO 8601 timestamp of when the card was created.
updated_at
string
ISO 8601 timestamp of when the card was last updated.