{
  "opencollection": "1.0.0",
  "info": {
    "name": "Didomi consents/events privacy-centers API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "privacy-centers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of privacy centers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.didomi.io/v1/privacy-centers",
            "params": [
              {
                "name": "privacy_center_id",
                "value": "",
                "type": "query",
                "description": "The ID of the privacy center"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of all the privacy centers the user has access to"
        },
        {
          "info": {
            "name": "Create a privacy center",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.didomi.io/v1/privacy-centers",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new privacy center"
        },
        {
          "info": {
            "name": "Retrieve a privacy center",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.didomi.io/v1/privacy-centers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the privacy center to retrieve"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a single privacy center with the given ID"
        },
        {
          "info": {
            "name": "Update a privacy center",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.didomi.io/v1/privacy-centers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the session to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing privacy center and replace all its properties"
        },
        {
          "info": {
            "name": "Patch a privacy center",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.didomi.io/v1/privacy-centers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the session to patch"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially update a privacy center"
        },
        {
          "info": {
            "name": "Delete a privacy center",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.didomi.io/v1/privacy-centers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the privacy center to delete"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing privacy center"
        }
      ]
    }
  ],
  "bundled": true
}