Skip to main content
curl

Authorizations

Authorization
string
header
required

A management token: ds_mgmt_ followed by 40 lowercase hexadecimal characters, created by an owner in Settings → Management tokens. Opaque: send it as is, in the Authorization header only.

Path Parameters

id
string
required

The card id (crd_…), from GET /v1/cards.

Body

application/json

Send Content-Type: application/json and a JSON object of at most 262,144 bytes.

fragments
object[]
required

The complete list of the fragments of this organisation the card is eligible on. [] empties it: the card is then eligible everywhere in the organisation. The same fragment named twice counts once.

Response

The card's eligibility after the replacement.

items
object[]
required