Update Card Copilots

šŸ”’

Required scope: cards:write

The API credential calling this endpoint must be granted the cards category with read & write access.
Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.
A credential without this scope receives 403 Forbidden with the error code INSUFFICIENT_PERMISSION.

Update the copilots of a specific card. The cardholder and the copilots have access to the card and its card details.
You need to provide all copilots you want to assign to the card. Copilots that are not provided will be removed from the card.

Note: the copilots feature is available for TRAVEL cards only.

Path Params
uuid
required

The unique identifier of the card.

Body Params
cardholderIds
array of uuids | null

The IDs of the cardholders to assign as copilots to the card.

cardholderIds
teamIds
array of uuids | null

The IDs of the teams to assign as copilots to the card.

teamIds
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json