-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapiKeyPayload.ts
More file actions
38 lines (35 loc) · 843 Bytes
/
Copy pathapiKeyPayload.ts
File metadata and controls
38 lines (35 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* Elastic Email REST API
*
* Contact: support@elasticemail.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AccessLevel } from './accessLevel';
/**
* Create a new ApiKey
*/
export interface ApiKeyPayload {
/**
* Name of the ApiKey for ease of reference.
*/
Name: string;
/**
* Access level or permission to be assigned to this ApiKey.
*/
AccessLevel: Array<AccessLevel>;
/**
* Date this ApiKey expires.
*/
Expires?: string | null;
/**
* Which IPs can use this ApiKey
*/
RestrictAccessToIPRange?: Array<string>;
/**
* Email of the subaccount for which this ApiKey should be created
*/
Subaccount?: string;
}