PATCH

Authorizations

Authorization
string
header
required

The user's access_token from authentication. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's id.

cardId
string
required

The card id from create / get cards.

Body

application/json
version
integer
required

The version the GET returned.

Required range: x >= 0
areas
object
required

Only the areas you send are touched; an area you omit is left alone. Each is {"card": …}: the cardholder's own layer, and the only one this route accepts.

Response

The updated policy, in exactly the shape Get this card's policy returns: recomposed against the live template, so the app can re-render from this response without a second call.