--- http_interactions: - request: method: post uri: https://my.datacentred.io/api/roles body: encoding: UTF-8 string: '{"role":{"name":"New Role"}}' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=access_key:secret_key Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Content-Type: - application/vnd.datacentred.api+json; charset=utf-8 Etag: - W/"ae495ada4adecb5a44d3aee493291c12" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 1fbbee82-c458-4430-ae24-da8a80492a1a X-Runtime: - '0.115788' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"role":{"id":"fbe70b79-775c-4368-b451-da2a4905ba21","name":"New Role","admin":false,"permissions":[],"created_at":"2017-09-06T09:36:18Z","updated_at":"2017-09-06T09:36:18Z","links":[{"href":"https://my.datacentred.io/api/roles/fbe70b79-775c-4368-b451-da2a4905ba21","rel":"self"},{"href":"https://my.datacentred.io/api/schemas/role","rel":"schema"}]}}' http_version: recorded_at: Wed, 06 Sep 2017 09:36:18 GMT - request: method: delete uri: https://my.datacentred.io/api/roles/fbe70b79-775c-4368-b451-da2a4905ba21/users/unknown body: encoding: US-ASCII string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=e9d2d4cd37adf1634e2a65b9e18a8fcb:821fac118e7675f28fa42ab79ace57de Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 404 message: Not Found headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Content-Type: - application/json; charset=utf-8 Cache-Control: - no-cache X-Request-Id: - cd8ce61e-1833-4063-aa53-a9828ca598f3 X-Runtime: - '0.103127' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"errors":[{"detail":"No such user ''unknown''"}],"links":[{"href":"https://my.datacentred.io/api","rel":"help"}]}' http_version: recorded_at: Wed, 06 Sep 2017 09:36:19 GMT recorded_with: VCR 2.8.0