Skip to content

Cards_update

PUT
/api/cards/{id}
curl --request PUT \
--url https://met.cards/api/cards/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "slug": "example", "displayName": "example", "title": "example", "company": "example", "links": [ { "label": "example", "url": "https://example.com" } ], "blocks": [ {} ], "theme": {}, "design": {} }'
id
required
string
Media typeapplication/json
object
slug
required
string
/^[a-z0-9-]{2,40}$/
displayName
string
nullable <= 80 characters
title
string
nullable <= 120 characters
company
string
nullable <= 120 characters
links
Array<object>
object
label
required
string
<= 60 characters
url
required
string format: uri
<= 2048 characters
blocks
Array<object>
object
theme
object
key
additional properties
any
design
object
Examplegenerated
{
"slug": "example",
"displayName": "example",
"title": "example",
"company": "example",
"links": [
{
"label": "example",
"url": "https://example.com"
}
],
"blocks": [
{}
],
"theme": {},
"design": {}
}
Media typeapplication/json
object
Examplegenerated
{}