| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number | Unique identifier. | [optional] |
| created | Date | Creation date. | [optional] [readonly] |
| version | Number | Row version, for optimistic concurrency. | [optional] [readonly] |
| description | String | Human-readable label. | [optional] |
| active | Boolean | Whether the key can authenticate. | [optional] |
| permissions | Permissions | [optional] | |
| companyIds | [Number] | Companies the key can access. Empty means all the companies of the account. | [optional] |
| corsOrigins | [String] | Browser origins allowed to call the API with this key (CORS). | [optional] |
| previousKeyExpiresAt | Date | When the secrets replaced by the last roll stop working; null when there are none still valid. | [optional] |
| testKey | String | Sandbox secret. | [optional] |
| liveKey | String | Production secret. | [optional] |