> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Card

Updates an existing RFID card for the specified location.

<ParamField path="site" type="string" required>
  The UUID of the location.
</ParamField>

<ParamField path="card" type="string" required>
  The ID of the card.
</ParamField>

<ParamField body="name" type="string" required>
  The display name of the card. Maximum 255 characters.
</ParamField>

<ParamField body="id_token" type="string" required>
  The RFID token identifier. Maximum 20 characters.
</ParamField>

<ParamField body="charger_ids" type="array">
  An optional array of charger UUIDs to restrict the card to. Each UUID must belong to the location. When provided, it replaces the card's current charger restrictions; pass an empty array to allow the card on all chargers at the location.
</ParamField>

## Response

<ResponseField name="id" type="integer">
  The numeric ID of the card.
</ResponseField>

<ResponseField name="name" type="string">
  The display name of the card.
</ResponseField>

<ResponseField name="id_token" type="string">
  The RFID token identifier of the card.
</ResponseField>

<ResponseField name="charger_ids" type="array">
  The UUIDs of the chargers this card is restricted to. An empty array means the card is allowed on all chargers at the location.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp of when the card was created.
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp of when the card was last updated.
</ResponseField>
