{
  "opencollection": "1.0.0",
  "info": {
    "name": "Docupilot accounts APIs ai organization API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "organization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "get_csm_details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/accounts/organization/csm_details/",
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Returns csm details for Organization if available"
        },
        {
          "info": {
            "name": "Delete a Organization and other related data permanently ",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/accounts/organization/delete_organization/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Delete a Organization and other related data permanently "
        },
        {
          "info": {
            "name": "get_organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/accounts/organization/details/",
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "Get organization meta information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/accounts/organization/meta/",
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Get organization meta information"
        },
        {
          "info": {
            "name": "Activate or Deactivate Organization MFA",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/accounts/organization/toggle_mfa_status/",
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Activate or Deactivate Organization MFA"
        },
        {
          "info": {
            "name": "Toggle password-based login",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/accounts/organization/toggle_password_based_login/",
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Flips the organization setting. Disabling is only allowed if at least one active SAML provider is configured."
        },
        {
          "info": {
            "name": "update_organization",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/accounts/organization/update_org/",
            "body": {
              "type": "multipart-form",
              "data": []
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "Update organization subdomain",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/accounts/organization/update_subdomain/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Update organization subdomain"
        },
        {
          "info": {
            "name": "get current organization details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/organization/current/",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "get current organization details"
        }
      ]
    }
  ],
  "bundled": true
}