Create API key
POST
Requires a user OAuth access token. Returns the secret once; store it securely. API keys cannot administer keys.
bearerAuthheader
AuthorizationBearer <token>Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.
X-Orbyte-Environment?stringRequired for environment-scoped OAuth operations. API keys remain bound to their own environment.
Length
1 <= lengthapplication/json- body
name?stringLength
1 <= length <= 80Default
"API key"preset?stringDefault
"standard"Value in
"standard""ingestion""read_only"Created API key and its secret
application/json- response
id*stringsecret*stringcurl -X POST 'https://api.orbytelabs.com/v1/api-keys' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "secret": "string"}