Error
API Keys
Create a project API key
The scope defaults to admin when omitted.
POST
Error
Authorizations
Project-scoped API key. It cannot access account routes or create additional projects.
Headers
API contract version requested by the client. Omit this header to use the current backward-compatible behavior.
Available options:
v1 Body
application/json
Required string length:
1 - 80Lifetime in days. Use null for no expiry.
Available options:
30, 90, 365, null Access tier. When omitted, defaults to admin for backward compatibility.
Available options:
read, write, admin Response
Created
Pattern:
^key_[a-z][a-z0-9]{23}$Example:
"key_a00000000000000000000000"
Example:
"bsb_key_live_xxxxxxxx"
Available options:
read, write, admin Example:
"bsb_key_live_..."