Skip to main content

Vaults

Create Vault

Create a new Vault

Request

POST /vaults

Example Request

Loading…

Parameters

NameTypeDescription
namestringName of vault
metadatastringArbitrary user-defined metadata for this Vault
descriptionstringdescription of Vault

Response

Returns a 201 response on success

Example Response

Loading…

Fields

NameTypeDescription
idstringidentifier for Vault
uristringURI of this Vault API resource
created_atstringTimestamp when the Vault was created (RFC 3339 format)
updated_atstringTimestamp when the Vault was last updated (RFC 3339 format)
namestringName of vault
descriptionstringdescription of Vault
metadatastringArbitrary user-defined metadata for this Vault
created_bystringReference to who created this Vault
last_updated_bystringReference to who created this Vault

Update Vault

Update an existing Vault by ID

Request

PATCH /vaults/{id}

Example Request

Loading…

Parameters

NameTypeDescription
idstringidentifier for Vault
namestringName of vault
metadatastringArbitrary user-defined metadata for this Vault
descriptionstringdescription of Vault

Response

Returns a 200 response on success

Example Response

Loading…

Fields

NameTypeDescription
idstringidentifier for Vault
uristringURI of this Vault API resource
created_atstringTimestamp when the Vault was created (RFC 3339 format)
updated_atstringTimestamp when the Vault was last updated (RFC 3339 format)
namestringName of vault
descriptionstringdescription of Vault
metadatastringArbitrary user-defined metadata for this Vault
created_bystringReference to who created this Vault
last_updated_bystringReference to who created this Vault

Delete Vault

Delete a Vault

Request

DELETE /vaults/{id}

Example Request

Loading…

Response

Returns a 204 response with no body on success

Get Vault

Get a Vault by ID

Request

GET /vaults/{id}

Example Request

Loading…

Response

Returns a 200 response on success

Example Response

Loading…

Fields

NameTypeDescription
idstringidentifier for Vault
uristringURI of this Vault API resource
created_atstringTimestamp when the Vault was created (RFC 3339 format)
updated_atstringTimestamp when the Vault was last updated (RFC 3339 format)
namestringName of vault
descriptionstringdescription of Vault
metadatastringArbitrary user-defined metadata for this Vault
created_bystringReference to who created this Vault
last_updated_bystringReference to who created this Vault

List Vaults

List all Vaults owned by account

Request

GET /vaults

Example Request

Loading…

Response

Returns a 200 response on success

Example Response

Loading…

Fields

NameTypeDescription
vaultsVaultThe list of Vaults for this account
uristring
next_page_uristringURI of the next page of results, or null if there is no next page

Vault fields

NameTypeDescription
idstringidentifier for Vault
uristringURI of this Vault API resource
created_atstringTimestamp when the Vault was created (RFC 3339 format)
updated_atstringTimestamp when the Vault was last updated (RFC 3339 format)
namestringName of vault
descriptionstringdescription of Vault
metadatastringArbitrary user-defined metadata for this Vault
created_bystringReference to who created this Vault
last_updated_bystringReference to who created this Vault