{
  "item": [
    {
      "id": "c2060916-d992-44ba-bfc5-dd2728b95c11",
      "name": "Users",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "1c183b2e-fa37-4c04-bcd0-2c1454a77111",
          "name": "Initiate user data export",
          "request": {
            "name": "Initiate user data export",
            "description": {
              "content": "Endpoint to initiate a user's request for personal health data export.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "users",
                ":id",
                "data-exports"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "id",
                  "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "56c3357e-f1d8-43b5-8515-286434450d24",
              "name": "Export request accepted and processing has started.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id",
                    "data-exports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Data export initiated successfully.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1d67c69e-db39-4b2f-842c-d5f6f35be93e",
              "name": "Invalid HMAC singature.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id",
                    "data-exports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"Unauthorized. Please supply valid authorization.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a1d2a0e8-cfff-4c90-8925-c219c82edda9",
              "name": "User not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id",
                    "data-exports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"User not found\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b93b7919-6d93-4d30-825b-0a7299c256c9",
              "name": "Server error when processing the request.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id",
                    "data-exports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"There was an issue processing your request at this time. Please try again. If the problem persists contact bwell support at support@icanbwell.com.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "622eb270-3354-4ea1-a96f-93e09eaad64d",
          "name": "Initiate user data deletion",
          "request": {
            "name": "Initiate user data deletion",
            "description": {
              "content": "Endpoint to initiate a request to delete a user's profile and associated information from bwell's system.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "users",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "id",
                  "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "b446150a-3c27-4b9a-bccd-3ca598704595",
              "name": "Deletion request accepted and processing has started.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"User profile deletion initiated successfully.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "582bf666-e4c2-44de-a6d5-6e8c7186af8e",
              "name": "Invalid HMAC signature.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"Unauthorized\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c240d5cf-62e0-49e0-a5b9-9c0da59dfa78",
              "name": "User not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"User not found\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "684a414f-4bdf-4498-9efb-d9505faabed7",
              "name": "Server error when processing the request.",
              "originalRequest": {
                "url": {
                  "path": [
                    "users",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) The user's client-specific identifier which will vary by client. Please check with bwell customer support to verify the id to be used here."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: apikey",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<API Key>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": \"There was an issue processing your request at this time. Please try again. If the problem persists contact bwell support at support@icanbwell.com.\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://user-data-ops.client-sandbox.icanbwell.com",
      "key": "baseUrl"
    }
  ],
  "info": {
    "_postman_id": "3b87b8e2-ac93-45a5-8782-939c065221e2",
    "name": "bwell User Data Operations Users API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "This specification contains endpoints oriented towards facilitating requests around a user's personal data.\n\nContact Support:\n Name: API Support\n Email: support@icanbwell.com",
      "type": "text/plain"
    }
  }
}