---
agentTools:
  projectIndex: https://docs.archisnapper.com/llms.txt
---

# Revoke user access from projects

This will remove all access to all projects for this user. Nothing is deleted, only the access for this particular user is removed.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://app3.archisnapper.com/api/public/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/user/unlink_all_sites": {
      "put": {
        "summary": "Revoke user access from projects",
        "description": "",
        "operationId": "revoke-user-access-from-projects",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "auth_token",
                  "email"
                ],
                "properties": {
                  "auth_token": {
                    "type": "string",
                    "description": "Your API key"
                  },
                  "email": {
                    "type": "string",
                    "description": "User email",
                    "default": "user_email@company.com"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63053e399807941f67a925c7:55ba2648b3612925009d66f0"
}
```