Skip to main content
POST
Delete templates in bulk

Authorizations

Authorization
string
header
required

Your API key, e.g. sk_live_... or sk_test_....

Headers

Idempotency-Key
string

Optional. Makes this write safe to retry: the same key replays the first response instead of acting twice.

Maximum string length: 255

Body

application/json

Name the templates with templates, hsm_ids, or both. Every one must be in this workspace.

templates
string[]

Template uuids or names.

Maximum array length: 100
Maximum string length: 512
hsm_ids
string[]

Meta template ids.

Maximum array length: 100
Pattern: ^\d{1,25}$

Response

Deleted.

deleted
integer