{
  "opencollection": "1.0.0",
  "info": {
    "name": "Docupilot accounts APIs ai workspaces API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "workspaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get list of Workspaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/",
            "params": [
              {
                "name": "active",
                "value": "",
                "type": "query"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get list of Workspaces"
        },
        {
          "info": {
            "name": "Create Workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Create Workspace"
        },
        {
          "info": {
            "name": "get current workspace details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/current/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "get current workspace details"
        },
        {
          "info": {
            "name": "update current workspace details",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/current/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "update current workspace details"
        },
        {
          "info": {
            "name": "Delete a workspace and other related data permanently",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/current/delete/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Delete a workspace and other related data permanently"
        },
        {
          "info": {
            "name": "get workspace data retention preference",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/retention_preference/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "get workspace data retention preference"
        },
        {
          "info": {
            "name": "update workspace data retention preference",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/dashboard/accounts/v2/workspaces/retention_preference/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "update workspace data retention preference"
        }
      ]
    }
  ],
  "bundled": true
}