Skip to main content
PUT
/
beta
/
cards
/
{cardId}
/
parents
Update card parents
curl --request PUT \
  --url https://api.vistaly.com/beta/cards/{cardId}/parents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "add": [
    {
      "parentId": "<string>",
      "parentType": "card"
    }
  ],
  "remove": [
    {
      "parentId": "<string>",
      "parentType": "card"
    }
  ]
}
'
{
  "cardId": "<string>",
  "cardUrl": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

The unique identifier for the card

Body

application/json
add
object[]

Array of parents to add to the card

remove
object[]

Array of parents to remove from the card

Response

Card parents updated successfully

cardId
string
required

The unique identifier for the card

cardUrl
string
required

The URL to view the card in Vistaly

message
string
required

Success message describing the operation