1---
2version: 1
3interactions:
4- request:
5    body: '{"label":"lpq6h62z88m4-linodego-testing","ssh_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X
6      lpq6h62z88m4-linodego-testing"}'
7    form: {}
8    headers:
9      Accept:
10      - application/json
11      Authorization:
12      - Bearer awesometokenawesometokenawesometoken
13      Content-Type:
14      - application/json
15      User-Agent:
16      - linodego 0.5.0 https://github.com/linode/linodego
17    url: https://api.linode.com/v4beta/profile/sshkeys
18    method: POST
19  response:
20    body: '{"id": 45, "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X
21      lpq6h62z88m4-linodego-testing", "label": "lpq6h62z88m4-linodego-testing", "created":
22      "2018-01-02T03:04:05"}'
23    headers:
24      Access-Control-Allow-Credentials:
25      - "true"
26      Access-Control-Allow-Headers:
27      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
28      Access-Control-Allow-Methods:
29      - HEAD, GET, OPTIONS, POST, PUT, DELETE
30      Access-Control-Allow-Origin:
31      - '*'
32      Access-Control-Expose-Headers:
33      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
34      Cache-Control:
35      - private, max-age=60, s-maxage=60
36      Connection:
37      - keep-alive
38      Content-Length:
39      - "511"
40      Content-Security-Policy:
41      - default-src 'none'
42      Content-Type:
43      - application/json
44      Date:
45      - Fri, 07 Sep 2018 15:02:07 GMT
46      Retry-After:
47      - "119"
48      Server:
49      - nginx
50      Strict-Transport-Security:
51      - max-age=31536000
52      Vary:
53      - Authorization, X-Filter
54      X-Accepted-Oauth-Scopes:
55      - account:read_write
56      X-Content-Type-Options:
57      - nosniff
58      - nosniff
59      X-Frame-Options:
60      - DENY
61      - DENY
62      X-Oauth-Scopes:
63      - '*'
64      X-Ratelimit-Limit:
65      - "400"
66      X-Ratelimit-Remaining:
67      - "399"
68      X-Ratelimit-Reset:
69      - "1536332647"
70      X-Spec-Version:
71      - 4.0.4
72      X-Xss-Protection:
73      - 1; mode=block
74    status: 200 OK
75    code: 200
76    duration: ""
77- request:
78    body: ""
79    form: {}
80    headers:
81      Accept:
82      - application/json
83      Authorization:
84      - Bearer awesometokenawesometokenawesometoken
85      Content-Type:
86      - application/json
87      User-Agent:
88      - linodego 0.5.0 https://github.com/linode/linodego
89    url: https://api.linode.com/v4beta/profile/sshkeys
90    method: GET
91  response:
92    body: '{"data": [{"ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X
93      lpq6h62z88m4-linodego-testing", "id": 45, "created": "2018-01-02T03:04:05",
94      "label": "lpq6h62z88m4-linodego-testing"}], "pages": 1, "page": 1, "results":
95      1}'
96    headers:
97      Access-Control-Allow-Credentials:
98      - "true"
99      Access-Control-Allow-Headers:
100      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
101      Access-Control-Allow-Methods:
102      - HEAD, GET, OPTIONS, POST, PUT, DELETE
103      Access-Control-Allow-Origin:
104      - '*'
105      Access-Control-Expose-Headers:
106      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
107      Cache-Control:
108      - private, max-age=0, s-maxage=0, no-cache, no-store
109      - private, max-age=60, s-maxage=60
110      Connection:
111      - keep-alive
112      Content-Length:
113      - "560"
114      Content-Security-Policy:
115      - default-src 'none'
116      Content-Type:
117      - application/json
118      Date:
119      - Fri, 07 Sep 2018 15:02:08 GMT
120      Retry-After:
121      - "118"
122      Server:
123      - nginx
124      Strict-Transport-Security:
125      - max-age=31536000
126      Vary:
127      - Authorization, X-Filter
128      - Authorization, X-Filter
129      X-Accepted-Oauth-Scopes:
130      - account:read_only
131      X-Content-Type-Options:
132      - nosniff
133      - nosniff
134      X-Frame-Options:
135      - DENY
136      - DENY
137      X-Oauth-Scopes:
138      - '*'
139      X-Ratelimit-Limit:
140      - "400"
141      X-Ratelimit-Remaining:
142      - "398"
143      X-Ratelimit-Reset:
144      - "1536332647"
145      X-Spec-Version:
146      - 4.0.4
147      X-Xss-Protection:
148      - 1; mode=block
149    status: 200 OK
150    code: 200
151    duration: ""
152- request:
153    body: ""
154    form: {}
155    headers:
156      Accept:
157      - application/json
158      Authorization:
159      - Bearer awesometokenawesometokenawesometoken
160      Content-Type:
161      - application/json
162      User-Agent:
163      - linodego 0.5.0 https://github.com/linode/linodego
164    url: https://api.linode.com/v4beta/profile/sshkeys/45
165    method: DELETE
166  response:
167    body: '{}'
168    headers:
169      Access-Control-Allow-Credentials:
170      - "true"
171      Access-Control-Allow-Headers:
172      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
173      Access-Control-Allow-Methods:
174      - HEAD, GET, OPTIONS, POST, PUT, DELETE
175      Access-Control-Allow-Origin:
176      - '*'
177      Access-Control-Expose-Headers:
178      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
179      Cache-Control:
180      - private, max-age=60, s-maxage=60
181      Connection:
182      - keep-alive
183      Content-Length:
184      - "2"
185      Content-Security-Policy:
186      - default-src 'none'
187      Content-Type:
188      - application/json
189      Date:
190      - Fri, 07 Sep 2018 15:02:08 GMT
191      Retry-After:
192      - "119"
193      Server:
194      - nginx
195      Strict-Transport-Security:
196      - max-age=31536000
197      Vary:
198      - Authorization, X-Filter
199      X-Accepted-Oauth-Scopes:
200      - account:read_write
201      X-Content-Type-Options:
202      - nosniff
203      - nosniff
204      X-Frame-Options:
205      - DENY
206      - DENY
207      X-Oauth-Scopes:
208      - '*'
209      X-Ratelimit-Limit:
210      - "400"
211      X-Ratelimit-Remaining:
212      - "399"
213      X-Ratelimit-Reset:
214      - "1536332648"
215      X-Spec-Version:
216      - 4.0.4
217      X-Xss-Protection:
218      - 1; mode=block
219    status: 200 OK
220    code: 200
221    duration: ""
222