---
updatedAt: 2025-09-08T20:16:54.000Z
agentTools:
  projectIndex: https://platform.humanity.com/llms.txt
---

# DELETE Weekly Availability

/employees/:user/availabilities/weekly
Permission level: 5

Deletes Weekly Availability for a user.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "default",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://www.humanity.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "x-default": "",
        "type": "apiKey",
        "name": "access_token",
        "in": "query"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/employees/{user}/availabilities/weekly": {
      "delete": {
        "summary": "DELETE Weekly Availability",
        "description": "/employees/:user/availabilities/weekly\nPermission level: 5",
        "operationId": "delete-weekly-availability",
        "parameters": [
          {
            "name": "user",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "start_time",
                  "end_time"
                ],
                "properties": {
                  "start_time": {
                    "type": "string",
                    "description": "time"
                  },
                  "end_time": {
                    "type": "string",
                    "description": "time"
                  },
                  "user": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": 1,\n  \"data\": \"Availability Updated\",\n  \"error\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "data": {
                      "type": "string",
                      "example": "Availability Updated"
                    },
                    "error": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "http",
              "code": "https://www.humanity.com/api/v2/employees/1235/availabilities/weekly?access_token=xxxxxxx"
            }
          ],
          "samples-languages": [
            "http"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```