|
1
|
/** |
|
2
|
* @schema AdminApiKey |
|
3
|
* type: object |
|
4
|
* description: The API key's details. |
|
5
|
* x-schemaName: AdminApiKey |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - token |
|
9
|
* - redacted |
|
10
|
* - title |
|
11
|
* - type |
|
12
|
* - last_used_at |
|
13
|
* - created_by |
|
14
|
* - created_at |
|
15
|
* - updated_at |
|
16
|
* - revoked_by |
|
17
|
* - revoked_at |
|
18
|
* - deleted_at |
|
19
|
* properties: |
|
20
|
* id: |
|
21
|
* type: string |
|
22
|
* title: id |
|
23
|
* description: The api key's ID. |
|
24
|
* token: |
|
25
|
* type: string |
|
26
|
* title: token |
|
27
|
* description: The api key's token. |
|
28
|
* redacted: |
|
29
|
* type: string |
|
30
|
* title: redacted |
|
31
|
* description: The redacted form of the API key's token. This is useful when showing portion of the token. |
|
32
|
* example: sk_...123 |
|
33
|
* title: |
|
34
|
* type: string |
|
35
|
* title: title |
|
36
|
* description: The api key's title. |
|
37
|
* type: |
|
38
|
* type: string |
|
39
|
* description: The api key's type. `secret` is used for a user's API key, whereas `publishable` is used for Publishable API keys. |
|
40
|
* enum: |
|
41
|
* - secret |
|
42
|
* - publishable |
|
43
|
* last_used_at: |
|
44
|
* type: string |
|
45
|
* title: last_used_at |
|
46
|
* description: The date and time the API key was last used. |
|
47
|
* format: date-time |
|
48
|
* created_by: |
|
49
|
* type: string |
|
50
|
* title: created_by |
|
51
|
* description: The ID of the user that created the API key, if available. |
|
52
|
* created_at: |
|
53
|
* type: string |
|
54
|
* format: date-time |
|
55
|
* title: created_at |
|
56
|
* description: The date and time the API key was created. |
|
57
|
* revoked_by: |
|
58
|
* type: string |
|
59
|
* title: revoked_by |
|
60
|
* description: The ID of the user that revoked the API key, if available. |
|
61
|
* revoked_at: |
|
62
|
* type: string |
|
63
|
* title: revoked_at |
|
64
|
* description: The date and time the API key was revoked. The API key is considered revoked when this property is set. |
|
65
|
* format: date-time |
|
66
|
* updated_at: |
|
67
|
* type: string |
|
68
|
* format: date-time |
|
69
|
* title: updated_at |
|
70
|
* description: The date the API key was updated. |
|
71
|
* deleted_at: |
|
72
|
* type: string |
|
73
|
* format: date-time |
|
74
|
* title: deleted_at |
|
75
|
* description: The date the API key was deleted. |
|
76
|
* |
|
77
|
*/ |
|
78
|
|