{
  "opencollection": "1.0.0",
  "info": {
    "name": "@weka-api Active Directory Organization API",
    "version": "5.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Check if multiple organizations exist - deprecated, use GET /tenants/multipleTenantsExist",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/organizations/multipleOrgsExist"
          },
          "docs": "Checks if more than one organization is configured in the cluster. This is useful for determining if multi-tenancy is active."
        },
        {
          "info": {
            "name": "Get a list of all organizations - deprecated, use GET /tenants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/organizations"
          },
          "docs": "Returns a list of all organizations configured in the cluster."
        },
        {
          "info": {
            "name": "Create a new organization - deprecated, use POST /tenants",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/organizations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new organization within the cluster. An organization is a logical partition that isolates users and data for multi-tenancy."
        },
        {
          "info": {
            "name": "Get a specific organization - deprecated, use GET /tenants/{uid}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/organizations/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ]
          },
          "docs": "Returns the details of a specific organization, identified by its UID."
        },
        {
          "info": {
            "name": "Rename an organization - deprecated, use PUT /tenants/{uid}",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/api/v2/organizations/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization to rename."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name of a specific organization."
        },
        {
          "info": {
            "name": "Delete a specific organization - deprecated, use DELETE /tenants/{uid}",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/v2/organizations/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization to delete."
              }
            ]
          },
          "docs": "Removes a specific organization from the cluster. This operation is only possible if the organization does not contain any resources."
        },
        {
          "info": {
            "name": "Set or update organization quotas - deprecated, use PUT /tenants/{uid}/limits",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/api/v2/organizations/:uid/limits",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets or updates the storage capacity quotas for a specific organization."
        },
        {
          "info": {
            "name": "Update organization options - deprecated, use PUT /tenants/{uid}/options",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/api/v2/organizations/:uid/options",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates enforcement options for a specific organization, such as filesystem authentication and mount network space access enforcement."
        },
        {
          "info": {
            "name": "Get network spaces for an organization - deprecated, use GET /tenants/{uid}/networkSpaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/organizations/:uid/networkSpaces",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ]
          },
          "docs": "Returns a list of network spaces assigned to a specific organization."
        },
        {
          "info": {
            "name": "Add network spaces to an organization - deprecated, use POST /tenants/{uid}/networkSpaces/add",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/organizations/:uid/networkSpaces/add",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assigns one or more network spaces to a specific organization without affecting existing assignments."
        },
        {
          "info": {
            "name": "Remove network spaces from an organization - deprecated, use POST /tenants/{uid}/networkSpaces/remove",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/organizations/:uid/networkSpaces/remove",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Removes one or more network spaces from a specific organization."
        },
        {
          "info": {
            "name": "Revoke all user tokens for an organization - deprecated, use DELETE /tenants/{uid}/revoke",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/v2/organizations/:uid/revoke",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ]
          },
          "docs": "Immediately invalidates all active login sessions (GUI, CLI, API) for all users within a specific organization."
        },
        {
          "info": {
            "name": "Get security policies for an organization - deprecated, use GET /tenants/{uid}/securityPolicy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/organizations/:uid/securityPolicy",
            "params": [
              {
                "name": "uid",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ]
          },
          "docs": "Returns a list of all security policies attached to a specific organization."
        },
        {
          "info": {
            "name": "Set security policies for an organization - deprecated, use PUT /tenants/{uid}/securityPolicy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/api/v2/organizations/:uid/securityPolicy",
            "params": [
              {
                "name": "uid",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces all existing security policies on an organization with a new set. Any policies not included in the request will be detached."
        },
        {
          "info": {
            "name": "Reset security policies for an organization - deprecated, use DELETE /tenants/{uid}/securityPolicy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/v2/organizations/:uid/securityPolicy",
            "params": [
              {
                "name": "uid",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ]
          },
          "docs": "Removes all attached security policies from a specific organization."
        },
        {
          "info": {
            "name": "Attach security policies to an organization - deprecated, use POST /tenants/{uid}/securityPolicy/attach",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/organizations/:uid/securityPolicy/attach",
            "params": [
              {
                "name": "uid",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Attaches one or more security policies to a specific organization without affecting existing attachments."
        },
        {
          "info": {
            "name": "Detach security policies from an organization - deprecated, use POST /tenants/{uid}/securityPolicy/detach",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/organizations/:uid/securityPolicy/detach",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UID) of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Detaches one or more security policies from a specific organization."
        }
      ]
    }
  ],
  "bundled": true
}