MyNewApiKeyDto
A freshly issued key of the caller's. The key itself is shown this once.
Properties
| Name | Type | Description |
|---|---|---|
| code* | string | The key's code, used to delete it |
The key's code, used to delete it | ||
| key* | string | The key, to send as the x-api-key header |
The key, to send as the x-api-key header | ||
| name* | string | The key's name |
The key's name | ||
| expiresDate | string | When the key expires; never when blank |
When the key expires; never when blank | ||
| createdDate* | string | When the key was issued |
When the key was issued | ||
JSON Example
{
"code": "00000000-0000-0000-0000-000000000000",
"key": "string",
"name": "string",
"expiresDate": "2024-01-01T00:00:00Z",
"createdDate": "2024-01-01T00:00:00Z"
}