For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Integration Example (PSA)
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
      • GETGets all absence regions.
      • POSTCreates a new absence region.
      • GETList of supported countries for absence regions.
      • GETList of locations for a country.
      • POSTAssign/remove current user to/from an absence region.
      • PUTAssign/remove current user to/from an absence region.
      • POSTAssigns or unassigns users to/from an absence region.
      • PUTAssigns or unassigns users to/from an absence region.
      • GETGet an absence region by id.
      • PUTUpdates an absence region.
      • DELDeletes an absence region.
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Workflows Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceAbsence Regions

Deletes an absence region.

DELETE
https://api.awork.com/api/v1/absenceregions/:absenceRegionId
DELETE
/api/v1/absenceregions/:absenceRegionId
$curl -X DELETE https://api.awork.com/api/v1/absenceregions/absenceRegionId \
> -H "Authorization: Bearer <token>"
Deletes an absence region by id, unassigning all users from the absence region. If there are workspace absences related to the region, they will be deleted as well. If the absence region is the default absence region, it will simply be deleted (no default absence region). <Check title="Required Permissions" icon="key">The user must be an admin or have `user-planning-data:write` permissions.</Check>
Was this page helpful?
Previous

Gets all workspace absences.

Next
Built with

Deletes an absence region by id, unassigning all users from the absence region. If there are workspace absences related to the region, they will be deleted as well. If the absence region is the default absence region, it will simply be deleted (no default absence region).

Required Permissions
The user must be an admin or have user-planning-data:write permissions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

absenceRegionIdstringRequiredformat: "uuid"
The id of the absence region to delete.

Response

No Content

Errors

404
Not Found Error