{
  "opencollection": "1.0.0",
  "info": {
    "name": "Core access-groups workspace API",
    "version": "1.0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "workspace",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "postworkspacesNamespace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:namespace",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new workspace"
        },
        {
          "info": {
            "name": "patchworkspacesNamespaceSlug",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update team workspace metadata"
        },
        {
          "info": {
            "name": "deleteworkspacesNamespaceSlug",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a team workspace"
        },
        {
          "info": {
            "name": "postworkspacesNamespaceSlugVersion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug/version",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create or update a workspace JSON version"
        },
        {
          "info": {
            "name": "postworkspacesNamespaceSlugAccessGroup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug/access/:group",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "group",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Adds an access group to a workspace"
        },
        {
          "info": {
            "name": "deleteworkspacesNamespaceSlugAccessGroup",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug/access/:group",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "group",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Removes an access group from a workspace"
        },
        {
          "info": {
            "name": "getworkspacesNamespaceSlugAvailable",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug/available",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Check availability for workspace namespace and slug"
        },
        {
          "info": {
            "name": "deleteworkspacesNamespaceSlugVersionVersion",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:namespace/:slug/version/:version",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a team workspace version"
        }
      ]
    }
  ],
  "bundled": true
}