Skip to main content
PUT
/
accounts
/
{accountId}
/
organizations
/
{organizationId}
/
cardholders
/
{cardHolderId}
Update card holder
curl --request PUT \
  --url https://api.opencard.io/api/v1/application/accounts/{accountId}/organizations/{organizationId}/cardholders/{cardHolderId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reference_id": "employee_john_99"
}
'
{
  "id": 15,
  "reference_id": "employee_john_42",
  "organization_id": 3,
  "identity_id": 123,
  "email": "john@acme.se",
  "created_at": "2026-06-08T10:00:00.000000Z",
  "updated_at": "2026-06-08T10:30:00.000000Z",
  "meta": {
    "ssn": true,
    "signed": true,
    "signed_at": "2026-06-08T10:30:00.000000Z",
    "email_status": "delivered",
    "pdpc_url": "https://sandbox-api.opencard.io/accounts/1/pdpcs/8/sign/abc...",
    "system": "Acme EMS",
    "organization_number": "5561234567"
  },
  "identity": {
    "name": "Anna Andersson",
    "employee_id": "001"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
integer
required

Your account ID

organizationId
integer
required

Organization ID

cardHolderId
integer
required

Card holder ID

Body

application/json

Update card holder. Only reference_id is required; other fields are optional.

reference_id
string
required
email
string<email> | null

Omit to leave unchanged

skip_pdpc_email
boolean
language
enum<string>
Available options:
sv,
no,
da,
en,
fi

Response

Updated card holder