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/v4/profile/sshkeys
18    method: POST
19  response:
20    body: '{"id": 43, "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      - "1536332646"
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/v4/profile/sshkeys/43
90    method: GET
91  response:
92    body: '{"ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X
93      lpq6h62z88m4-linodego-testing", "id": 43, "created": "2018-01-02T03:04:05",
94      "label": "lpq6h62z88m4-linodego-testing"}'
95    headers:
96      Access-Control-Allow-Credentials:
97      - "true"
98      Access-Control-Allow-Headers:
99      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
100      Access-Control-Allow-Methods:
101      - HEAD, GET, OPTIONS, POST, PUT, DELETE
102      Access-Control-Allow-Origin:
103      - '*'
104      Access-Control-Expose-Headers:
105      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
106      Cache-Control:
107      - private, max-age=0, s-maxage=0, no-cache, no-store
108      - private, max-age=60, s-maxage=60
109      Connection:
110      - keep-alive
111      Content-Length:
112      - "511"
113      Content-Security-Policy:
114      - default-src 'none'
115      Content-Type:
116      - application/json
117      Date:
118      - Fri, 07 Sep 2018 15:02:07 GMT
119      Retry-After:
120      - "119"
121      Server:
122      - nginx
123      Strict-Transport-Security:
124      - max-age=31536000
125      Vary:
126      - Authorization, X-Filter
127      - Authorization, X-Filter
128      X-Accepted-Oauth-Scopes:
129      - account:read_only
130      X-Content-Type-Options:
131      - nosniff
132      - nosniff
133      X-Frame-Options:
134      - DENY
135      - DENY
136      X-Oauth-Scopes:
137      - '*'
138      X-Ratelimit-Limit:
139      - "400"
140      X-Ratelimit-Remaining:
141      - "399"
142      X-Ratelimit-Reset:
143      - "1536332647"
144      X-Spec-Version:
145      - 4.0.4
146      X-Xss-Protection:
147      - 1; mode=block
148    status: 200 OK
149    code: 200
150    duration: ""
151- request:
152    body: ""
153    form: {}
154    headers:
155      Accept:
156      - application/json
157      Authorization:
158      - Bearer awesometokenawesometokenawesometoken
159      Content-Type:
160      - application/json
161      User-Agent:
162      - linodego 0.5.0 https://github.com/linode/linodego
163    url: https://api.linode.com/v4/profile/sshkeys/43
164    method: DELETE
165  response:
166    body: '{}'
167    headers:
168      Access-Control-Allow-Credentials:
169      - "true"
170      Access-Control-Allow-Headers:
171      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
172      Access-Control-Allow-Methods:
173      - HEAD, GET, OPTIONS, POST, PUT, DELETE
174      Access-Control-Allow-Origin:
175      - '*'
176      Access-Control-Expose-Headers:
177      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
178      Cache-Control:
179      - private, max-age=60, s-maxage=60
180      Connection:
181      - keep-alive
182      Content-Length:
183      - "2"
184      Content-Security-Policy:
185      - default-src 'none'
186      Content-Type:
187      - application/json
188      Date:
189      - Fri, 07 Sep 2018 15:02:07 GMT
190      Retry-After:
191      - "119"
192      Server:
193      - nginx
194      Strict-Transport-Security:
195      - max-age=31536000
196      Vary:
197      - Authorization, X-Filter
198      X-Accepted-Oauth-Scopes:
199      - account:read_write
200      X-Content-Type-Options:
201      - nosniff
202      - nosniff
203      X-Frame-Options:
204      - DENY
205      - DENY
206      X-Oauth-Scopes:
207      - '*'
208      X-Ratelimit-Limit:
209      - "400"
210      X-Ratelimit-Remaining:
211      - "399"
212      X-Ratelimit-Reset:
213      - "1536332647"
214      X-Spec-Version:
215      - 4.0.4
216      X-Xss-Protection:
217      - 1; mode=block
218    status: 200 OK
219    code: 200
220    duration: ""
221