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