Skip to main content
POST
developers.key.update

Authorizations

Authorization
string
header
required

A Lath API key: lath_live_sk… or lath_test_sk… on a server, lath_live_pk… or lath_test_pk… in a browser.

Headers

Idempotency-Key
string

Replays the stored response for the same key and input; refuses different input.

Body

application/json
keyId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
Required string length: 1 - 60
permissions
enum<string>[]

Replaces the key's permissions outright; not allowed on a publishable key

Minimum array length: 1
Available options:
account:read,
account:write,
auth:read,
auth:write,
email:read,
email:write,
sms:read,
sms:write,
audience:read,
audience:write,
developers:read,
developers:write,
billing:read,
billing:write

Response

{ activityId, result }. activityId is empty for reads.

activityId
string
required

The activity this call created, or empty for a read.

result
object
required
Last modified on September 13, 2026