Vault

Update Vault Item

Update a vault item's name and/or item key. A rename leaves the key unchanged. 409 when a profile using this item already has another item with the new key.

patch/agents/v2/vault/items/{itemId}

Request

  • Base URL
    https://odyssey.asteroid.ai
  • URL
    https://odyssey.asteroid.ai/agents/v2/vault/items/{itemId}
  • Auth
    API key in header X-Api-Key

Path parameters

itemIdstring uuid required

Request body

OR

Response

The request has succeeded.

createdAtstring date-time required
createdBystring uuid
idstring uuid required
itemKeystring required

UPPER_SNAKE vault item key. Derived from name when omitted on create. Unique among a profile's attached items, not across the organisation. Stays the same across renames.

kind'login' | 'api_key' | 'card' | 'custom' required

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

lastRotatedAtstring date-time
lastRotatedBystring uuid
lastUsedAtstring date-time
namestring required
organizationIdstring uuid required
templateIdstring uuid
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.