# Exclude Profile From All Email

Marks a person as excluded from all email. This works the same way as manually excluding someone via the excluded people page. Someone who is excluded will no longer receive any campaigns or flow emails.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "2022.03.29",
    "title": "Klaviyo API",
    "description": "Empowering creators to own their destiny"
  },
  "servers": [
    {
      "description": "Production",
      "url": "https://a.klaviyo.com/api"
    }
  ],
  "tags": [
    {
      "name": "Lists & Segments",
      "description": "read and update lists & segments"
    }
  ],
  "paths": {
    "/v1/people/exclusions": {
      "post": {
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "operationId": "exclude-globally",
        "summary": "Exclude Profile From All Email",
        "description": "Marks a person as excluded from all email. This works the same way as manually excluding someone via the excluded people page. Someone who is excluded will no longer receive any campaigns or flow emails.",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "example": "george.washington@klaviyo.com",
                    "default": "george.washington@klaviyo.com"
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "tags": [
          "Lists & Segments"
        ],
        "responses": {
          "200": {
            "description": "An already_excluded flag that indicates whether this individual was already unsubscribed from all email.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "already_excluded": {
                      "type": "boolean",
                      "example": true
                    },
                    "num_excluded": {
                      "type": "integer",
                      "example": 0
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "already_excluded": true,
                  "num_excluded": 0
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key",
        "x-default": "PRIVATE_API_KEY"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "javascript",
      "node",
      "php",
      "python",
      "ruby"
    ],
    "explorer-enabled": false,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 187,
      "2": 133,
      "3": 149,
      "4": 99,
      "5": 231,
      "6": 162,
      "7": 0,
      "8": 15,
      "9": 118,
      "10": 42,
      "11": 112
    }
  }
}
```