/
MA
marmotdata
/
Marmot API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
marmotdata
Marmot API
post
Create API key for a service account
v1
latest
Swagger 2.0
MIT
2026-07-17
153
169
349.2 KB
service_accounts
Create API key for a service account
Create a new API key. The plaintext key is only returned once.
post
/service-accounts/{id}/api-keys
Path parameters
id
string
required
Service account ID
Request body
CreateServiceAccountAPIKeyRequest
required
expires_in_days
integer
name
string
Response
Created
ServiceAccountAPIKey
required
created_at
string
expires_at
string
id
string
key
string
last_used_at
string
name
string
service_account_id
string