Allowance Management

Delete an allowance type

Changed on

Deletes an allowance type. Rejected while leave types still draw from it, while it is any member's default type, while it still has rules, and for the last remaining type of the workspace.

delete/allowance-types/{id}

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/allowance-types/{id}
  • Auth
    API key in header X-API-KEY

Path parameters

idstring uuid required

Response

Successful response

successboolean required

Changes

    • warning

      changed the pattern of the path request parameter id from ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

    • info

      endpoint added