Sources

Rename a source key

Changed on

Renames a key. An owner manages every key of the source; anyone else only the keys they issued. In an enterprise workspace only Talonic staff issue and manage keys. Also answers at /v1/sources/api/{id}/keys….

Scope: team:write. A key holding only the legacy write scope does not satisfy it.

patch/v1/sources/{id}/keys/{keyId}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

keyId, string uuid required

Key UUID.

Request body

object required
name, string required

Response

The renamed key.

SourceKey required
id, string uuid
name, string
masked_prefix, string

The first characters of the key, e.g. tlnc_live_ab....

scopes, string[]
is_active, boolean
last_used_at, string date-time nullable
usage_count, integer
created_at, string date-time nullable
revoked_at, string date-time nullable
expires_at, string date-time nullable

Changes