Skip to main content
PATCH
/
api
/
block_types
/
{id}
Update Block Type
curl --request PATCH \
  --url https://api.example.com/api/block_types/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "logo_url": "<string>",
  "documentation_url": "<string>",
  "description": "<string>",
  "code_example": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

The block type ID

Body

application/json

Data used by the Prefect REST API to update a block type.

logo_url
string | null
documentation_url
string | null
description
string | null
code_example
string | null

Response

Successful Response