Generate a new API key for an app
API key authentication (format: Bearer {api_key})
API Auth app name
API key created
Key ID
"1234567890123456789"
App slug
"my-app"
Deployment ID
"1111111111111111111"
Key name
"Production Key"
Key prefix
"wacht_prod"
Key suffix (last 4 characters)
"abcd"
Granted permissions
Permissions derived from organization roles
Permissions derived from workspace roles
User ID who owns this key
Organization ID linked to this key
Workspace ID linked to this key
Organization membership ID linked to this key
Workspace membership ID linked to this key
Additional metadata
Expiration timestamp
Last used timestamp
Whether the key is active
true
Creation timestamp
"2024-01-15T10:30:00Z"
Last update timestamp
"2024-01-15T10:30:00Z"
Revocation timestamp
Reason for revocation
Full API key (only shown on creation)