---
version: 1
interactions:
- request:
    body: '{"project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "region":"fr-par",
      "created_at":"2024-02-19T15:12:39.555584178Z", "updated_at":"2024-02-19T15:12:39.555584178Z",
      "id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF", "name":"cli-mnq-quizzical-cohen",
      "endpoint":"nats://nats.mnq.fr-par.scaleway.com:4222"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/mnq/v1beta1/regions/fr-par/nats-accounts
    method: POST
  response:
    body: '{"project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "region":"fr-par",
      "created_at":"2024-02-19T15:12:39.555584178Z", "updated_at":"2024-02-19T15:12:39.555584178Z",
      "id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF", "name":"cli-mnq-quizzical-cohen",
      "endpoint":"nats://nats.mnq.fr-par.scaleway.com:4222"}'
    headers:
      Content-Length:
      - "320"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Mon, 19 Feb 2024 15:12:39 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - 02726b14-abc1-40f9-8a7e-eaea69798acd
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "region":"fr-par",
      "created_at":"2024-02-19T15:12:39.555584Z", "updated_at":"2024-02-19T15:12:39.555584Z",
      "id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF", "name":"cli-mnq-quizzical-cohen",
      "endpoint":"nats://nats.mnq.fr-par.scaleway.com:4222"}'
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/mnq/v1beta1/regions/fr-par/nats-accounts/ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF
    method: GET
  response:
    body: '{"project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "region":"fr-par",
      "created_at":"2024-02-19T15:12:39.555584Z", "updated_at":"2024-02-19T15:12:39.555584Z",
      "id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF", "name":"cli-mnq-quizzical-cohen",
      "endpoint":"nats://nats.mnq.fr-par.scaleway.com:4222"}'
    headers:
      Content-Length:
      - "314"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Mon, 19 Feb 2024 15:12:39 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - a7ace7ab-46cb-44ca-a938-61ad1aba8b45
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"nats_account_id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF",
      "created_at":"2024-02-19T15:12:39.696556593Z", "updated_at":null, "id":"37c3611f-59cd-486d-a8c9-38b4f7209fe4",
      "name":"cli-mnq-quizzical-cohencli-creds-epic-brattain", "credentials":{"name":"user.creds",
      "content":"-----BEGIN NATS USER JWT-----\neyJ0eXAiOiJKV1QiLCJhbGciOiJlZDI1NTE5LW5rZXkifQ.eyJqdGkiOiIzQkJGSENVSzQzWDJIWUlMNjVYWEZXMkxXQlU1Tk9JRFc3TktUVEpVTldFU0NJWDZIMkRRIiwiaWF0IjoxNzA4MzU1NTU5LCJpc3MiOiJBRFhMUlY3N1lTUUVaMlZUTFBVTVFYVkhENktDNFVYSVJWTFE2RTZDN0dVVFBVRlBTQVFZU05OTCIsIm5hbWUiOiJjbGktbW5xLXF1aXp6aWNhbC1jb2hlbmNsaS1jcmVkcy1lcGljLWJyYXR0YWluIiwic3ViIjoiVURMRFJRWUdFQldQNjJLNE5FWEJTWVNINFA2TlFNSFlUTUtOTUpWUUFRSVRVTlpWS0ZIWElKVlIiLCJuYXRzIjp7InB1YiI6e30sInN1YiI6e30sInN1YnMiOi0xLCJkYXRhIjotMSwicGF5bG9hZCI6LTEsImlzc3Vlcl9hY2NvdW50IjoiQUJIQ0lZVVlUVjdaVVBENDc2WEJDNDNURkhCQVFMUVhDM0dPRzNTR09OV0pEQ0NHUTNESEpTS0YiLCJ0eXBlIjoidXNlciIsInZlcnNpb24iOjJ9fQ.443N3kVkp5YAyZfNCqEgUVhQTlhgjybAkeCz63wYD3p9TzSUojH9pEKgNm_wMVB3RZOjlPZnoKvAsvrlOgGvCw\n------END
      NATS USER JWT------\n\n************************* IMPORTANT *************************\nNKEY
      Seed printed below can be used to sign and prove identity.\nNKEYs are sensitive
      and should be treated as secrets.\n\n-----BEGIN USER NKEY SEED-----\nSUAPLJ5ZIVQTS5HW5PKHHBCDZVGDHGN7CZSA25VGINAGBJCGKGJB2NMTEM\n------END
      USER NKEY SEED------\n\n*************************************************************\n"},
      "checksum":"9270fbc1dad1e000a96a2dc0b805f2c4ae1a0871"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/mnq/v1beta1/regions/fr-par/nats-credentials
    method: POST
  response:
    body: '{"nats_account_id":"ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF",
      "created_at":"2024-02-19T15:12:39.696556593Z", "updated_at":null, "id":"37c3611f-59cd-486d-a8c9-38b4f7209fe4",
      "name":"cli-mnq-quizzical-cohencli-creds-epic-brattain", "credentials":{"name":"user.creds",
      "content":"-----BEGIN NATS USER JWT-----\neyJ0eXAiOiJKV1QiLCJhbGciOiJlZDI1NTE5LW5rZXkifQ.eyJqdGkiOiIzQkJGSENVSzQzWDJIWUlMNjVYWEZXMkxXQlU1Tk9JRFc3TktUVEpVTldFU0NJWDZIMkRRIiwiaWF0IjoxNzA4MzU1NTU5LCJpc3MiOiJBRFhMUlY3N1lTUUVaMlZUTFBVTVFYVkhENktDNFVYSVJWTFE2RTZDN0dVVFBVRlBTQVFZU05OTCIsIm5hbWUiOiJjbGktbW5xLXF1aXp6aWNhbC1jb2hlbmNsaS1jcmVkcy1lcGljLWJyYXR0YWluIiwic3ViIjoiVURMRFJRWUdFQldQNjJLNE5FWEJTWVNINFA2TlFNSFlUTUtOTUpWUUFRSVRVTlpWS0ZIWElKVlIiLCJuYXRzIjp7InB1YiI6e30sInN1YiI6e30sInN1YnMiOi0xLCJkYXRhIjotMSwicGF5bG9hZCI6LTEsImlzc3Vlcl9hY2NvdW50IjoiQUJIQ0lZVVlUVjdaVVBENDc2WEJDNDNURkhCQVFMUVhDM0dPRzNTR09OV0pEQ0NHUTNESEpTS0YiLCJ0eXBlIjoidXNlciIsInZlcnNpb24iOjJ9fQ.443N3kVkp5YAyZfNCqEgUVhQTlhgjybAkeCz63wYD3p9TzSUojH9pEKgNm_wMVB3RZOjlPZnoKvAsvrlOgGvCw\n------END
      NATS USER JWT------\n\n************************* IMPORTANT *************************\nNKEY
      Seed printed below can be used to sign and prove identity.\nNKEYs are sensitive
      and should be treated as secrets.\n\n-----BEGIN USER NKEY SEED-----\nSUAPLJ5ZIVQTS5HW5PKHHBCDZVGDHGN7CZSA25VGINAGBJCGKGJB2NMTEM\n------END
      USER NKEY SEED------\n\n*************************************************************\n"},
      "checksum":"9270fbc1dad1e000a96a2dc0b805f2c4ae1a0871"}'
    headers:
      Content-Length:
      - "1496"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Mon, 19 Feb 2024 15:12:39 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - da6fa7b2-8e75-434c-b68e-445ab2cb4118
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/mnq/v1beta1/regions/fr-par/nats-accounts/ABHCIYUYTV7ZUPD476XBC43TFHBAQLQXC3GOG3SGONWJDCCGQ3DHJSKF
    method: DELETE
  response:
    body: ""
    headers:
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Mon, 19 Feb 2024 15:12:39 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - b6d8fe4b-60d7-4cca-8402-fad6b4e9f8c1
    status: 204 No Content
    code: 204
    duration: ""
