Skip to content

Update PDF Template

PATCH
/api/pdf-reports/templates/{id}

Update an existing PDF template

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Parameters

Path Parameters

id*
Typestring
Required

Request Body

application/json
JSON
{
"data": {
"type": "templates",
"id": "string",
"attributes": {
"name": "string",
"description": "string",
"editorConfig": "string",
"pageSettings": "string",
"customCss": "string",
"isDefault": true,
"isActive": true
}
}
}

Responses

Updated PDF template

application/vnd.api+json
JSON
[
]

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation