PUT
/
keys
/
{id}

Headers

x-api-key
string

your workspace API key

Path Parameters

id
string
required

your key ID

Body

application/json
expires_at
integer

a unix time stamp in the future of when you want the key to expire

verification_limit
integer

maximum verification allowed for this key

Response

200 - application/json
api_id
string

The ID of the API the key belongs to

name
string

The name assigned to the key

prefix
string

The prefix assigned to the key

length
integer
default: 16

The length assigned to the key

meta
object

extra details you passed via the meta attribute

expires_at
integer

Unix timestamp of when the key expires, returns null when not set

verification_limit
integer

maximum verification allowed for this key, returns null when not set