-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathtest_api_key_authenticated_user.yaml
More file actions
177 lines (177 loc) · 7.44 KB
/
test_api_key_authenticated_user.yaml
File metadata and controls
177 lines (177 loc) · 7.44 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
authorization:
- <REDACTED>
user-agent:
- <REDACTED>
method: GET
uri: https://api.easypost.com/v2/users
response:
body:
string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id":
null, "name": "New Name", "phone_number": "<REDACTED>", "verified": true,
"created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access":
false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount":
"100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00",
"has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount":
null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email":
"<REDACTED>", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd",
"object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
"Test User2", "phone_number": "8005550100", "verified": true, "created_at":
"2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access":
false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object":
"User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z",
"default_carbon_offset": false, "has_elevate_access": false, "children": []},
{"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id":
"user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number":
"8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset":
false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12",
"object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name":
"Test User", "phone_number": "8005550100", "verified": true, "created_at":
"2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access":
false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object":
"User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test
User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z",
"default_carbon_offset": false, "has_elevate_access": false, "children": []}]}'
headers:
cache-control:
- private, no-cache, no-store
content-length:
- '2010'
content-type:
- application/json; charset=utf-8
expires:
- '0'
pragma:
- no-cache
referrer-policy:
- strict-origin-when-cross-origin
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
- chunked
x-backend:
- easypost
x-content-type-options:
- nosniff
x-download-options:
- noopen
x-ep-request-uuid:
- 8e8eb62567c9fbc9e2b9771800184cb0
x-frame-options:
- SAMEORIGIN
x-node:
- bigweb40nuq
x-permitted-cross-domain-policies:
- none
x-proxied:
- intlb4nuq 51d74985a2
- extlb1nuq 99aac35317
x-runtime:
- '0.156923'
x-version-label:
- easypost-202503061913-8f39069a2d-master
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
authorization:
- <REDACTED>
user-agent:
- <REDACTED>
method: GET
uri: https://api.easypost.com/v2/api_keys
response:
body:
string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object":
"ApiKey", "active": true, "key": "<REDACTED>", "mode": "test", "created_at":
"2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object":
"ApiKey", "active": true, "key": "<REDACTED>", "mode": "production", "created_at":
"2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children":
[{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey",
"active": true, "key": "<REDACTED>", "mode": "test", "created_at": "2023-12-11T17:13:38Z",
"id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active":
true, "key": "<REDACTED>", "mode": "production", "created_at": "2023-12-11T17:13:38Z",
"id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c",
"keys": [{"object": "ApiKey", "active": true, "key": "<REDACTED>", "mode":
"test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"},
{"object": "ApiKey", "active": true, "key": "<REDACTED>", "mode": "production",
"created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}],
"children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object":
"ApiKey", "active": true, "key": "<REDACTED>", "mode": "test", "created_at":
"2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object":
"ApiKey", "active": true, "key": "<REDACTED>", "mode": "production", "created_at":
"2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children":
[]}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey",
"active": true, "key": "<REDACTED>", "mode": "test", "created_at": "2024-01-19T21:42:21Z",
"id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active":
true, "key": "<REDACTED>", "mode": "production", "created_at": "2024-01-19T21:42:21Z",
"id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a",
"keys": [{"object": "ApiKey", "active": true, "key": "<REDACTED>", "mode":
"test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"},
{"object": "ApiKey", "active": true, "key": "<REDACTED>", "mode": "production",
"created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}],
"children": []}]}'
headers:
cache-control:
- private, no-cache, no-store
content-length:
- '2782'
content-type:
- application/json; charset=utf-8
expires:
- '0'
pragma:
- no-cache
referrer-policy:
- strict-origin-when-cross-origin
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
- chunked
x-backend:
- easypost
x-content-type-options:
- nosniff
x-download-options:
- noopen
x-ep-request-uuid:
- 8e8eb62567c9fbcae2b9771800184ced
x-frame-options:
- SAMEORIGIN
x-node:
- bigweb41nuq
x-permitted-cross-domain-policies:
- none
x-proxied:
- intlb3nuq 51d74985a2
- extlb1nuq 99aac35317
x-runtime:
- '0.084904'
x-version-label:
- easypost-202503061913-8f39069a2d-master
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1