Endpoints
Re-generate Key
POST
/
keys
/
{id}
/
regenerate
This endpoint would regenerate a key while maintaining its initial
id
and configurations
Headers
x-api-key
string
your workspace API key
Path Parameters
id
string
requiredyour key ID
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: 16The length assigned to the key
Required range:
16 < x < 255
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