absenceRegions

Deletes the specified absence region.

Changed on

Deletes the specified absence region, unassigns its users, and deletes related workspace absences. Deleting the default region leaves the workspace without a default region.

<Check title="Required Permissions" icon="key">The user must be an admin or have user-planning-data:write permissions.</Check>

delete/absenceregions/{absenceRegionId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/absenceregions/{absenceRegionId}
  • Auth: HTTP bearer

Path parameters

absenceRegionIdstring uuid required

The id of the absence region to delete.

Response

No Content

object required

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id DeleteAbsenceRegionById removed and replaced with absenceRegions_DeleteAbsenceRegionById