Skip to main content
PATCH
/
sources
/
{source_id}
Update a source
curl --request PATCH \
  --url https://api.deck.co/v2/sources/{source_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>"
}
'
{
  "id": "<string>",
  "object": "<string>",
  "name": "<string>",
  "type": "<string>",
  "website": {
    "url": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Clerk JWT, client credential JWT, or secret key (sk_live_...)

Path Parameters

source_id
string
required

Body

name
null | string
url
null | string

Response

OK

id
string
required
object
string
required
name
null | string
required
type
string
required
website
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
request_id
string
required