Skip to main content
POST
Duplicate Secret Template

Authorizations

X-Api-Key
string
header
required

Path Parameters

templateId
string<uuid>
required

Body

application/json
name
string
Required string length: 1 - 200
organizationId
string<uuid>

Organization that receives the copy. Defaults to the one organization the caller acts in, such as an API key's. Required when the caller belongs to several.

Response

The request has succeeded and a new resource has been created as a result.

A vault template: an ordered field blueprint. organizationId is omitted on master presets.

createdAt
string<date-time>
required
fields
object[]
required
id
string<uuid>
required
kind
enum<string>
required

Kind of vault item. Templates and items need at least one field. Completeness is per-field required.

Available options:
login,
api_key,
card,
custom
name
string
required
Required string length: 1 - 200
origin
enum<string>
required

Whether a vault template was generated from the catalog or created by hand.

Available options:
generated,
manual
steps
object[]
required
Maximum array length: 20
updatedAt
string<date-time>
required
actor
object

Who made it. createdBy holds a user id only, so read this for a record an API key made.

createdBy
string<uuid>
description
string
organizationId
string<uuid>

Owning organization. Omitted on master presets.

sourceTemplateId
string<uuid>

Template this row was copied from. Provenance only.