Templates
Rename external id or set tenant scope
Renames the template's external id and/or sets its delegated-access scopePath. At least one field is required. After a rename the old v2 URL stops resolving immediately; the internal id, the v1 URL and historical render-log references do not change. Requires template ownership or organization admin access; scopePath additionally requires a key owned by an organization owner or admin.
patch/v2/organizations/{organizationId}/templates/{externalId}
Request
- Base URL: https://api.pdfs.build
- URL: https://api.pdfs.build/v2/organizations/{organizationId}/templates/{externalId}
- Auth: HTTP bearer
Request body
Example request
{
"scopePath": "acct_9f3/entity_dubai/"
}Response
The updated template.
Example response
{
"scopePath": "acct_9f3/entity_dubai/",
"createdAt": "2026-08-30T12:00:00.123456",
"updatedAt": "2026-08-30T12:00:00.123456"
}Changes
No recorded changes to this operation across all 1 revision of this API.