{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}
Requests
Change a request
Change the reason, the period or the leave type of a request on behalf of the user who created the API token.
Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided:
A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval.
A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one.
A reason change is applied at once and never needs approval.
Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed.
The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too.
A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead.
In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can’t be changed (400).
Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.
Start/end of the request in ISO 8601. For day-based leave types (leave_unit: days) send the date at midnight UTC (e.g. 2026-06-01T00:00:00Z) and use start_at / end_at to set half-days. For hour-based leave types include the exact time of day (e.g. 2026-06-01T09:00:00Z); start_at / end_at are then ignored.
Start/end of the request in ISO 8601. For day-based leave types (leave_unit: days) send the date at midnight UTC (e.g. 2026-06-01T00:00:00Z) and use start_at / end_at to set half-days. For hour-based leave types include the exact time of day (e.g. 2026-06-01T09:00:00Z); start_at / end_at are then ignored.
For day-based leave types: whether the absence starts in the morning (the whole first day counts) or afternoon (only the second half of the first day). Ignored for hour-based leave types.
For day-based leave types: whether the absence ends at lunchtime (only the first half of the last day) or end_of_day (the whole last day counts). Ignored for hour-based leave types.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"absentify®","colors":{"primary":"#6264A7","light":"#B3B5FF","dark":"#3D3E66"},"logo":{"light":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/light.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=90d1c401ab5c62a6ba4676540859a9cb","dark":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/dark.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=adc309f6bccae886f6db6c9ef38882fc"},"favicon":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/favicon.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=ad25ce5ffa0f179bd8c41b56b3d6b421","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://absentify.com","label":"Website"}],"primary":{"type":"button","label":"Start","href":"https://absentify.com"}},"footer":{"socials":{"x":"https://x.com/absentify_com","linkedin":"https://linkedin.com/company/absentify","youtube":"https://youtube.com/@absentify"}},"integrations":{},"contextual":{"options":["view","copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en/introduction"},{"language":"de","href":"de/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"absentify","hasAudioNarration":false,"actualSubdomain":"absentify","customDomains":["absentify.com"],"gitSource":{"type":"github","owner":"absentify","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af49be8d7a808c67a4a368a","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"en","tag":"HR Admins","count":102},{"language":"de","tag":"Documentation","count":101},{"language":"en","tag":"Documentation","count":101},{"language":"de","tag":"API Reference","count":95},{"language":"en","tag":"API Reference","count":95},{"language":"de","tag":"HR Admins","count":51},{"language":"de","tag":"HR-Admins","count":51},{"language":"de","tag":"Einstellungen","count":46},{"language":"en","tag":"Settings","count":46},{"language":"en","tag":"Microsoft 365 Admins","count":44},{"language":"de","tag":"Allowance Management","count":28},{"language":"en","tag":"Allowance Management","count":28},{"language":"de","tag":"Mitarbeiter","count":24},{"language":"en","tag":"Employee","count":24},{"language":"de","tag":"Microsoft 365-Administratoren","count":22},{"language":"de","tag":"Microsoft 365-Admins","count":22},{"language":"de","tag":"Integrationen","count":17},{"language":"en","tag":"Integrations","count":17},{"language":"en","tag":"Users","count":17},{"language":"en","tag":"Requests","count":17}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@absentify.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".responsive-iframe{height:500px!important;width:100%!important;color-scheme:light}@media (max-width: 768px){.responsive-iframe{height:300px!important}}"}],"page":{"pagePath":"en/api-reference/requests/change-a-request","slug":"/en/api-reference/requests/change-a-request","pageMetadata":{"title":"Change a request","description":"Change the reason, the period or the leave type of a request on behalf of the user who created the API token.\n\nPending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided:\n\n- A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on `request_shortening_needs_approval`.\n- A longer or moved period, or a new leave type, creates a change request with status `pending`. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one.\n- A reason change is applied at once and never needs approval.\n- Leave types without approval, and changes by admins or managers (`admin_approval_option: approve_request_immediately`), apply at once. For a new leave type, the new one decides whether approval is needed.\n\nThe leave type must allow changes (`allow_request_changes`), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing `admin_approval_option: approve_request_immediately` gets 403 too.\n\nA new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead.\n\nIn a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can't be changed (400).\n\nSend `start` and `end` together to change the period, and `leave_type_id` to change the leave type. Send `reason` to change the reason, or `null` to clear it. The response is the recorded change: its `status` is `applied` when it is in force and `pending` when it waits for approval (also shown as `pending_change` on the request). Approvers decide it with the `/requests/{id}/changes/{changeId}/approve` and `/decline` endpoints; the requester can `/withdraw` it.","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes","href":"/en/api-reference/requests/change-a-request","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Change the reason, the period or the leave type of a request on behalf of the user who created the API token.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on \", _jsx(_components.code, {\n children: \"request_shortening_needs_approval\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"A longer or moved period, or a new leave type, creates a change request with status \", _jsx(_components.code, {\n children: \"pending\"\n }), \". The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one.\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"A reason change is applied at once and never needs approval.\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Leave types without approval, and changes by admins or managers (\", _jsx(_components.code, {\n children: \"admin_approval_option: approve_request_immediately\"\n }), \"), apply at once. For a new leave type, the new one decides whether approval is needed.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The leave type must allow changes (\", _jsx(_components.code, {\n children: \"allow_request_changes\"\n }), \"), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing \", _jsx(_components.code, {\n children: \"admin_approval_option: approve_request_immediately\"\n }), \" gets 403 too.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can’t be changed (400).\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Send \", _jsx(_components.code, {\n children: \"start\"\n }), \" and \", _jsx(_components.code, {\n children: \"end\"\n }), \" together to change the period, and \", _jsx(_components.code, {\n children: \"leave_type_id\"\n }), \" to change the leave type. Send \", _jsx(_components.code, {\n children: \"reason\"\n }), \" to change the reason, or \", _jsx(_components.code, {\n children: \"null\"\n }), \" to clear it. The response is the recorded change: its \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"applied\"\n }), \" when it is in force and \", _jsx(_components.code, {\n children: \"pending\"\n }), \" when it waits for approval (also shown as \", _jsx(_components.code, {\n children: \"pending_change\"\n }), \" on the request). Approvers decide it with the \", _jsx(_components.code, {\n children: \"/requests/{id}/changes/{changeId}/approve\"\n }), \" and \", _jsx(_components.code, {\n children: \"/decline\"\n }), \" endpoints; the requester can \", _jsx(_components.code, {\n children: \"/withdraw\"\n }), \" it.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Change a request","description":"Change the reason, the period or the leave type of a request on behalf of the user who created the API token.\n\nPending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided:\n\n- A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on `request_shortening_needs_approval`.\n- A longer or moved period, or a new leave type, creates a change request with status `pending`. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one.\n- A reason change is applied at once and never needs approval.\n- Leave types without approval, and changes by admins or managers (`admin_approval_option: approve_request_immediately`), apply at once. For a new leave type, the new one decides whether approval is needed.\n\nThe leave type must allow changes (`allow_request_changes`), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing `admin_approval_option: approve_request_immediately` gets 403 too.\n\nA new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead.\n\nIn a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can't be changed (400).\n\nSend `start` and `end` together to change the period, and `leave_type_id` to change the leave type. Send `reason` to change the reason, or `null` to clear it. The response is the recorded change: its `status` is `applied` when it is in force and `pending` when it waits for approval (also shown as `pending_change` on the request). Approvers decide it with the `/requests/{id}/changes/{changeId}/approve` and `/decline` endpoints; the requester can `/withdraw` it.","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes","href":"/en/api-reference/requests/change-a-request","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/absentify/d9569a8dd2540708/crisp.js","/docs/_mintlify/custom/absentify/ec756efbd8e286bf/posthog.js"],"openApiReferenceData":{"operation":{"operationId":"request-changeRequest","summary":"Change a request","description":"Change the reason, the period or the leave type of a request on behalf of the user who created the API token.\n\nPending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided:\n\n- A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on `request_shortening_needs_approval`.\n- A longer or moved period, or a new leave type, creates a change request with status `pending`. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one.\n- A reason change is applied at once and never needs approval.\n- Leave types without approval, and changes by admins or managers (`admin_approval_option: approve_request_immediately`), apply at once. For a new leave type, the new one decides whether approval is needed.\n\nThe leave type must allow changes (`allow_request_changes`), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing `admin_approval_option: approve_request_immediately` gets 403 too.\n\nA new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead.\n\nIn a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can't be changed (400).\n\nSend `start` and `end` together to change the period, and `leave_type_id` to change the leave type. Send `reason` to change the reason, or `null` to clear it. The response is the recorded change: its `status` is `applied` when it is in force and `pending` when it waits for approval (also shown as `pending_change` on the request). Approvers decide it with the `/requests/{id}/changes/{changeId}/approve` and `/decline` endpoints; the requester can `/withdraw` it.","tags":["Requests"],"security":["f55906d4-69d7-4020-bddb-2593fa774181"],"parameters":["83f64009-0ccd-4a52-8a49-746f0de974e4"],"requestBody":"8f44c781-4175-4d1d-9e33-ab6a84603e12","responses":{"200":"c89c9ba2-891d-4934-89ae-e3b05d8b880d","400":"ee9b8d52-4c35-4441-83e4-ff6ae3629e10","401":"b0b8b9c6-dd4f-4c2e-a7a5-cbe5271a77d2","403":"89bad6c3-c62b-473b-82fc-23db256ef3a4","500":"4dcaf594-3ce2-44c7-b118-7ce19d4bc34e"},"method":"post","type":"path","servers":["2cdc1100-3f87-4b6f-82cc-f1107114ae6c"],"path":"/requests/{id}/changes","baseUrlOptions":["https://api.absentify.com/api/v1"],"title":"Change a request","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"83f64009-0ccd-4a52-8a49-746f0de974e4":{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([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})$","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"oneOf":[{"type":"string","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"start":{"description":"Start/end of the request in ISO 8601. For day-based leave types (`leave_unit: days`) send the date at midnight UTC (e.g. `2026-06-01T00:00:00Z`) and use `start_at` / `end_at` to set half-days. For hour-based leave types include the exact time of day (e.g. `2026-06-01T09:00:00Z`); `start_at` / `end_at` are then ignored.","type":"string","uniqueKey":"start","typeLabel":"string"},"end":{"description":"Start/end of the request in ISO 8601. For day-based leave types (`leave_unit: days`) send the date at midnight UTC (e.g. `2026-06-01T00:00:00Z`) and use `start_at` / `end_at` to set half-days. For hour-based leave types include the exact time of day (e.g. `2026-06-01T09:00:00Z`); `start_at` / `end_at` are then ignored.","type":"string","uniqueKey":"end","typeLabel":"string"},"start_at":{"type":"string","enum":["morning","afternoon"],"description":"For day-based leave types: whether the absence starts in the `morning` (the whole first day counts) or `afternoon` (only the second half of the first day). Ignored for hour-based leave types.","uniqueKey":"start_at","typeLabel":"enum\u003cstring>"},"end_at":{"type":"string","enum":["lunchtime","end_of_day"],"description":"For day-based leave types: whether the absence ends at `lunchtime` (only the first half of the last day) or `end_of_day` (the whole last day counts). Ignored for hour-based leave types.","uniqueKey":"end_at","typeLabel":"enum\u003cstring>"},"leave_type_id":{"description":"The new leave type, which must allow changes and be day-based or hour-based like the request.","type":"string","format":"uuid","pattern":"^([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})$","uniqueKey":"leave_type_id","typeLabel":"string\u003cuuid>"},"admin_approval_option":{"description":"Whether the change is applied at once (admins only) or goes through the normal approval process.","type":"string","enum":["approve_request_immediately","go_through_the_normal_approval_process"],"uniqueKey":"admin_approval_option","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"reason":"\u003cstring>","start":"\u003cstring>","end":"\u003cstring>","leave_type_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c89c9ba2-891d-4934-89ae-e3b05d8b880d":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"revision":{"oneOf":[{"type":"integer","description":"The revision the request gets when this change is applied. Null while the change is pending, declined or withdrawn.","maximum":9007199254740991,"minimum":-9007199254740991,"isRequired":true,"uniqueKey":"revision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The revision the request gets when this change is applied. Null while the change is pending, declined or withdrawn.","isRequired":true,"uniqueKey":"revision.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"revision","typeLabel":"integer | null"},"kind":{"type":"string","enum":["reason","shortened","extended","moved","leave_type"],"isRequired":true,"uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","approved","declined","withdrawn","applied"],"description":"`pending` waits for approvers, `applied` is in force, `declined` and `withdrawn` never changed the request.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"previous":{"type":"object","properties":{"start":{"type":"string","isRequired":true,"uniqueKey":"previous.start","typeLabel":"string"},"end":{"type":"string","isRequired":true,"uniqueKey":"previous.end","typeLabel":"string"},"start_at":{"type":"string","enum":["morning","afternoon"],"description":"For day-based leave types: whether the absence starts in the `morning` (the whole first day counts) or `afternoon` (only the second half of the first day). Ignored for hour-based leave types.","isRequired":true,"uniqueKey":"previous.start_at","typeLabel":"enum\u003cstring>"},"end_at":{"type":"string","enum":["lunchtime","end_of_day"],"description":"For day-based leave types: whether the absence ends at `lunchtime` (only the first half of the last day) or `end_of_day` (the whole last day counts). Ignored for hour-based leave types.","isRequired":true,"uniqueKey":"previous.end_at","typeLabel":"enum\u003cstring>"},"leave_type":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"previous.leave_type.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"previous.leave_type.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"previous.leave_type.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"previous.leave_type.name","typeLabel":"string | null"}},"required":["id","name"],"additionalProperties":false,"isRequired":true,"uniqueKey":"previous.leave_type","typeLabel":"object"},"duration":{"type":"number","description":"Calendar duration, including non-working days and non-working time: calendar days for day and half-day leave units, elapsed minutes from start to end for hour and minute units. Use `workday_absence_duration` for the counted duration.","isRequired":true,"uniqueKey":"previous.duration","typeLabel":"number"},"workday_absence_duration":{"type":"number","description":"Counted duration, the value absentify shows: the working time the absence takes, based on the work schedule and public holidays, unless the leave type also counts days off or public holidays. Days for day and half-day leave units, minutes for hour and minute units. If the leave type deducts from an allowance, this is the amount the absence takes from it, or for a proposed change, would take once the change applies. Canceled and declined requests keep the value but take nothing from the allowance.","isRequired":true,"uniqueKey":"previous.workday_absence_duration","typeLabel":"number"},"reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"previous.reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"previous.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"previous.reason","typeLabel":"string | null"}},"required":["start","end","start_at","end_at","leave_type","duration","workday_absence_duration","reason"],"additionalProperties":false,"description":"The request as it was before this change.","isRequired":true,"uniqueKey":"previous","typeLabel":"object"},"proposed":{"type":"object","properties":{"start":{"type":"string","isRequired":true,"uniqueKey":"proposed.start","typeLabel":"string"},"end":{"type":"string","isRequired":true,"uniqueKey":"proposed.end","typeLabel":"string"},"start_at":{"type":"string","enum":["morning","afternoon"],"description":"For day-based leave types: whether the absence starts in the `morning` (the whole first day counts) or `afternoon` (only the second half of the first day). Ignored for hour-based leave types.","isRequired":true,"uniqueKey":"proposed.start_at","typeLabel":"enum\u003cstring>"},"end_at":{"type":"string","enum":["lunchtime","end_of_day"],"description":"For day-based leave types: whether the absence ends at `lunchtime` (only the first half of the last day) or `end_of_day` (the whole last day counts). Ignored for hour-based leave types.","isRequired":true,"uniqueKey":"proposed.end_at","typeLabel":"enum\u003cstring>"},"leave_type":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"proposed.leave_type.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"proposed.leave_type.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"proposed.leave_type.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"proposed.leave_type.name","typeLabel":"string | null"}},"required":["id","name"],"additionalProperties":false,"isRequired":true,"uniqueKey":"proposed.leave_type","typeLabel":"object"},"duration":{"type":"number","description":"Calendar duration, including non-working days and non-working time: calendar days for day and half-day leave units, elapsed minutes from start to end for hour and minute units. Use `workday_absence_duration` for the counted duration.","isRequired":true,"uniqueKey":"proposed.duration","typeLabel":"number"},"workday_absence_duration":{"type":"number","description":"Counted duration, the value absentify shows: the working time the absence takes, based on the work schedule and public holidays, unless the leave type also counts days off or public holidays. Days for day and half-day leave units, minutes for hour and minute units. If the leave type deducts from an allowance, this is the amount the absence takes from it, or for a proposed change, would take once the change applies. Canceled and declined requests keep the value but take nothing from the allowance.","isRequired":true,"uniqueKey":"proposed.workday_absence_duration","typeLabel":"number"},"reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"proposed.reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"proposed.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"proposed.reason","typeLabel":"string | null"}},"required":["start","end","start_at","end_at","leave_type","duration","workday_absence_duration","reason"],"additionalProperties":false,"description":"The request as this change wants it. Only for `applied` changes is this what is in force.","isRequired":true,"uniqueKey":"proposed","typeLabel":"object"},"changed_by":{"oneOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"changed_by.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"changed_by.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"changed_by.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"changed_by.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"changed_by.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"changed_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"changed_by","typeLabel":"object | null"},"decided_by":{"oneOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"decided_by.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"decided_by.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"decided_by.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"decided_by.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"decided_by.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"decided_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"decided_by","typeLabel":"object | null"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"decided_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"decided_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"decided_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"decided_at","typeLabel":"string | null"},"decision_reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"decision_reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"decision_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"decision_reason","typeLabel":"string | null"}},"required":["id","revision","kind","status","previous","proposed","changed_by","decided_by","created_at","decided_at","decision_reason"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":0,"revision":0,"kind":"reason","status":"pending","previous":{"start":"\u003cstring>","end":"\u003cstring>","start_at":"morning","end_at":"lunchtime","leave_type":{"id":"\u003cstring>","name":"\u003cstring>"},"duration":123,"workday_absence_duration":123,"reason":"\u003cstring>"},"proposed":{"start":"\u003cstring>","end":"\u003cstring>","start_at":"morning","end_at":"lunchtime","leave_type":{"id":"\u003cstring>","name":"\u003cstring>"},"duration":123,"workday_absence_duration":123,"reason":"\u003cstring>"},"changed_by":{"id":"\u003cstring>","name":"\u003cstring>"},"decided_by":{"id":"\u003cstring>","name":"\u003cstring>"},"created_at":"\u003cstring>","decided_at":"\u003cstring>","decision_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ee9b8d52-4c35-4441-83e4-ff6ae3629e10":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Invalid input data error (400) · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"b0b8b9c6-dd4f-4c2e-a7a5-cbe5271a77d2":{"description":"Authorization not provided","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]},"uniqueKey":"","typeLabel":"Authorization not provided error (401) · object"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"89bad6c3-c62b-473b-82fc-23db256ef3a4":{"description":"Insufficient access","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]},"uniqueKey":"","typeLabel":"Insufficient access error (403) · object"},"examples":{"Example":{"title":"Example","value":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"4dcaf594-3ce2-44c7-b118-7ce19d4bc34e":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Internal server error error (500) · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f55906d4-69d7-4020-bddb-2593fa774181":{"ApiKey":{"type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"}}},"servers":{"2cdc1100-3f87-4b6f-82cc-f1107114ae6c":{"url":"https://api.absentify.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-KEY"}],"title":"ApiKey"}]},"originalFileLocation":"https://api.absentify.com/api/v1/openapi.json"},"subdomain":"absentify","siteName":"absentify®","title":"Change a request - absentify®","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/requests/change-a-request","matchLevel":0},"de":{"href":"/de/api-reference/requests/change-a-request","matchLevel":1}}},"lastModified":"2026-11-08T20:47:45.210Z","originalFileLocation":"en/api-reference/requests/change-a-request.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Change the reason, the period or the leave type of a request on behalf of the user who created the API token. Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided: - A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval. - A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one. - A reason change is applied at once and never needs approval. - Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed. The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too. A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead. In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can\u0026#x27;t be changed (400). Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"absentify®\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Change a request - absentify®\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change the reason, the period or the leave type of a request on behalf of the user who created the API token. Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided: - A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval. - A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one. - A reason change is applied at once and never needs approval. - Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed. The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too. A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead. In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can\u0026#x27;t be changed (400). Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"absentify®\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://absentify.com/docs/en/api-reference/requests/change-a-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://absentify.mintlify.site/docs/_mintlify/api/og/v2?division=Requests\u0026amp;title=Change+a+request\u0026amp;description=Change+the+reason%2C+the+period+or+the+leave+type+of+a+request+on+behalf+of+the+user+who+created+the+API+token.%0A%0APending+requests+are+changed+in+place%3A+a+new+peri\u0026amp;theme=a3352746cf965aecbcdd2294\u0026amp;signature=af96632e1b96afdfa1ad48341eae54cade79821e0a2c4b9ee59daf293859815a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Change a request - absentify®\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change the reason, the period or the leave type of a request on behalf of the user who created the API token. Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided: - A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval. - A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one. - A reason change is applied at once and never needs approval. - Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed. The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too. A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead. In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can\u0026#x27;t be changed (400). Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://absentify.mintlify.site/docs/_mintlify/api/og/v2?division=Requests\u0026amp;title=Change+a+request\u0026amp;description=Change+the+reason%2C+the+period+or+the+leave+type+of+a+request+on+behalf+of+the+user+who+created+the+API+token.%0A%0APending+requests+are+changed+in+place%3A+a+new+peri\u0026amp;theme=a3352746cf965aecbcdd2294\u0026amp;signature=af96632e1b96afdfa1ad48341eae54cade79821e0a2c4b9ee59daf293859815a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"absentify®\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6264A7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://absentify.com/docs/en/api-reference/requests/change-a-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/api-reference/requests/change-a-request.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://absentify.com/docs/en/api-reference/requests/change-a-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://absentify.com/docs/de/api-reference/requests/change-a-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://absentify.com/docs/en/api-reference/requests/change-a-request\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://absentify.com/#organization\",\"name\":\"absentify®\",\"url\":\"https://absentify.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/light.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=90d1c401ab5c62a6ba4676540859a9cb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://absentify.com/docs#website\",\"name\":\"absentify®\",\"url\":\"https://absentify.com/docs\",\"publisher\":{\"@id\":\"https://absentify.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request#webpage\",\"url\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request\",\"name\":\"Change a request\",\"description\":\"Change the reason, the period or the leave type of a request on behalf of the user who created the API token. Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided: - A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval. - A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one. - A reason change is applied at once and never needs approval. - Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed. The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too. A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead. In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can't be changed (400). Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.\",\"dateModified\":\"2026-11-08T20:47:45.210Z\",\"isPartOf\":{\"@id\":\"https://absentify.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Requests\",\"item\":\"https://absentify.com/docs/en/api-reference/requests/get-all-requests\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change a request\",\"item\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request#apireference\",\"headline\":\"Change a request\",\"name\":\"Change a request\",\"description\":\"Change the reason, the period or the leave type of a request on behalf of the user who created the API token. Pending requests are changed in place: a new period or leave type restarts the approval, a reason change never does. Approved requests keep their approved version until a change is decided: - A new period inside the old one (shortening, same leave type) is applied at once and the days go back to the allowance, unless the leave type turns on request_shortening_needs_approval. - A longer or moved period, or a new leave type, creates a change request with status pending. The approved request stays in force everywhere (calendar, allowance, syncs) until the approvers approve it. Declining leaves it untouched. One change can be open per request: a new period or leave type withdraws the open one. - A reason change is applied at once and never needs approval. - Leave types without approval, and changes by admins or managers (admin_approval_option: approve_request_immediately), apply at once. For a new leave type, the new one decides whether approval is needed. The leave type must allow changes (allow_request_changes), and so must a new one; if one does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too. A new leave type must be day-based or hour-based like the request: days and half days can be swapped for each other, and so can hours and minute units. Switching between the two is rejected with 400; cancel the request and create a new one instead. In a recurring series, the dates of a single approved occurrence can be changed, and only that occurrence changes. The dates of an occurrence that still waits for approval and the leave type of any occurrence can't be changed (400). Send start and end together to change the period, and leave_type_id to change the leave type. Send reason to change the reason, or null to clear it. The response is the recorded change: its status is applied when it is in force and pending when it waits for approval (also shown as pending_change on the request). Approvers decide it with the /requests/{id}/changes/{changeId}/approve and /decline endpoints; the requester can /withdraw it.\",\"url\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request\",\"mainEntityOfPage\":{\"@id\":\"https://absentify.com/docs/en/api-reference/requests/change-a-request#webpage\"},\"dateModified\":\"2026-11-08T20:47:45.210Z\",\"publisher\":{\"@id\":\"https://absentify.com/#organization\"},\"isPartOf\":{\"@id\":\"https://absentify.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"absentify®\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"absentify®\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/en/api-reference/requests/change-a-request.md","siteName":"absentify®","nav":{"global":null,"languages":[{"language":"en","anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/en/introduction"}]},{"anchor":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"anchor":"Website","icon":"globe","href":"https://absentify.com"},{"anchor":"Help","icon":"comment-question","href":"mailto:support@absentify.com"},{"anchor":"Blog","icon":"newspaper","href":"https://absentify.com/blog"},{"anchor":"API Reference","icon":"square-terminal","tabs":[{"tab":"Developers","groups":[{"group":"Developers","pages":[{"title":"REST API introduction","sidebarTitle":"Introduction","href":"/en/api-reference/introduction"},{"title":"Quick start","sidebarTitle":"Quick start","href":"/en/api-reference/quick_start"},{"title":"MCP Server","sidebarTitle":"MCP Server","href":"/en/api-reference/mcp_server"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/en/api-reference/authentication"},{"title":"API limits","sidebarTitle":"API limits","href":"/en/api-reference/limits"},{"title":"API responses","sidebarTitle":"Responses","href":"/en/api-reference/responses"},{"title":"Webhook integration","sidebarTitle":"Webhooks","href":"/en/api-reference/webhooks"},{"title":"Exports","sidebarTitle":"Exports","href":"/en/api-reference/exports"}]}]}],"groups":[{"group":"Members","pages":[{"title":"Get all members","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members","href":"/en/api-reference/members/get-all-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members","href":"/en/api-reference/members/invite-a-member"},{"title":"Read a member by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{id}","href":"/en/api-reference/members/read-a-member-by-id"},{"title":"Update a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}","href":"/en/api-reference/members/update-a-member"},{"title":"Delete a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /members/{id}","href":"/en/api-reference/members/delete-a-member"},{"title":"Read a member by Microsoft user id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/microsoft/{microsoft_user_id}","href":"/en/api-reference/members/read-a-member-by-microsoft-user-id"},{"title":"Read a member by email","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/email/{email}","href":"/en/api-reference/members/read-a-member-by-email"},{"title":"Read a member by custom_id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/custom_id/{custom_id}","href":"/en/api-reference/members/read-a-member-by-custom_id"},{"title":"Update approvers for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/approvers","href":"/en/api-reference/members/update-approvers-for-a-member"},{"title":"Update a member's allowance (deprecated)","deprecated":true,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/allowance/{allowance_type_id}/{year}","href":"/en/api-reference/members/update-a-members-allowance-deprecated"},{"title":"Set a member's default and hidden allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/allowance-type-configurations/{allowance_type_id}","href":"/en/api-reference/members/set-a-members-default-and-hidden-allowance-types"},{"title":"Add a member's schedule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{id}/schedule","href":"/en/api-reference/members/add-a-members-schedule"},{"title":"Update a member's schedule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/schedule/{id}","href":"/en/api-reference/members/update-a-members-schedule"},{"title":"Get a member's representative settings and list","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{id}/representatives","href":"/en/api-reference/members/get-a-members-representative-settings-and-list"},{"title":"Update representatives for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/representatives","href":"/en/api-reference/members/update-representatives-for-a-member"}]},{"group":"Departments","pages":[{"title":"Get all departments","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /departments","href":"/en/api-reference/departments/get-all-departments"},{"title":"Create a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /departments","href":"/en/api-reference/departments/create-a-department"},{"title":"Read a department by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /departments/{id}","href":"/en/api-reference/departments/read-a-department-by-id"},{"title":"Update a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /departments/{id}","href":"/en/api-reference/departments/update-a-department"},{"title":"Delete a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /departments/{id}","href":"/en/api-reference/departments/delete-a-department"}]},{"group":"Leave types","pages":[{"title":"Get all leave types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /leave_types","href":"/en/api-reference/leave-types/get-all-leave-types"},{"title":"Create a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /leave_types","href":"/en/api-reference/leave-types/create-a-leave-type"},{"title":"Read a leave type by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /leave_types/{id}","href":"/en/api-reference/leave-types/read-a-leave-type-by-id"},{"title":"Update a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /leave_types/{id}","href":"/en/api-reference/leave-types/update-a-leave-type"},{"title":"Delete a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /leave_types/{id}","href":"/en/api-reference/leave-types/delete-a-leave-type"},{"title":"Restore an archived leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /leave_types/{id}/restore","href":"/en/api-reference/leave-types/restore-an-archived-leave-type"}]},{"group":"Workspace","pages":[{"title":"Get current workspace settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /workspace","href":"/en/api-reference/workspace/get-current-workspace-settings"},{"title":"Update the workspace settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /workspace","href":"/en/api-reference/workspace/update-the-workspace-settings"}]},{"group":"Public holidays","pages":[{"title":"Get all public holidays","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /public_holidays","href":"/en/api-reference/public-holidays/get-all-public-holidays"},{"title":"Read a public holiday by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /public_holidays/{id}","href":"/en/api-reference/public-holidays/read-a-public-holiday-by-id"}]},{"group":"Requests","pages":[{"title":"Get all requests","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests","href":"/en/api-reference/requests/get-all-requests"},{"title":"Create a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests","href":"/en/api-reference/requests/create-a-request"},{"title":"Get all requests per day","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests_per_day","href":"/en/api-reference/requests/get-all-requests-per-day"},{"title":"Read a request by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests/{id}","href":"/en/api-reference/requests/read-a-request-by-id"},{"title":"Create recurring requests","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/recurring","href":"/en/api-reference/requests/create-recurring-requests"},{"title":"Preview a request (dry run)","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/preview","href":"/en/api-reference/requests/preview-a-request-dry-run"},{"title":"Preview recurring requests (dry run)","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/recurring/preview","href":"/en/api-reference/requests/preview-recurring-requests-dry-run"},{"title":"Approve a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/approve","href":"/en/api-reference/requests/approve-a-request"},{"title":"Decline a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/decline","href":"/en/api-reference/requests/decline-a-request"},{"title":"Approve a request as a representative","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/approve_representative","href":"/en/api-reference/requests/approve-a-request-as-a-representative"},{"title":"Decline a request as a representative","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/decline_representative","href":"/en/api-reference/requests/decline-a-request-as-a-representative"},{"title":"Cancel a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/cancel","href":"/en/api-reference/requests/cancel-a-request"},{"title":"List the changes of a request","description":"Every change of the request, oldest first, with the values before and after and who decided it. Includes pending changes and declined or withdrawn ones; only `applied` changes are in force.","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests/{id}/changes","href":"/en/api-reference/requests/list-the-changes-of-a-request"},{"title":"Change a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes","href":"/en/api-reference/requests/change-a-request"},{"title":"Approve a change of a request","description":"Approve the pending change of an approved request on behalf of the user who created the API token. Only the approvers of the change (or an admin) can do this. When the last needed approval is in, the change is applied, the request gets the next revision and `change.status` becomes `applied`; otherwise it stays `pending`. Fails with 409 when the change is no longer pending or when `revision` does not match the request, and with 400 when the allowance no longer covers the change.","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/approve","href":"/en/api-reference/requests/approve-a-change-of-a-request"},{"title":"Decline a change of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/decline","href":"/en/api-reference/requests/decline-a-change-of-a-request"},{"title":"Withdraw a change of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/withdraw","href":"/en/api-reference/requests/withdraw-a-change-of-a-request"}]},{"group":"Absences","pages":[{"title":"Get all requests and public holiday per member per day","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /absences_per_day","href":"/en/api-reference/absences/get-all-requests-and-public-holiday-per-member-per-day"}]},{"group":"Allowance Management","pages":[{"title":"List all rules for an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{allowance_type_id}/rules","href":"/en/api-reference/allowance-management/list-all-rules-for-an-allowance-type"},{"title":"Create a new allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types/{allowance_type_id}/rules","href":"/en/api-reference/allowance-management/create-a-new-allowance-rule"},{"title":"Delete an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /rules/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-rule"},{"title":"Update an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /rules/{id}","href":"/en/api-reference/allowance-management/update-an-allowance-rule"},{"title":"List rule assignments for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/rule-assignments","href":"/en/api-reference/allowance-management/list-rule-assignments-for-a-member"},{"title":"Assign a member to an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/rule-assignments","href":"/en/api-reference/allowance-management/assign-a-member-to-an-allowance-rule"},{"title":"Remove a member from an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /rule-assignments/{id}","href":"/en/api-reference/allowance-management/remove-a-member-from-an-allowance-rule"},{"title":"Update a rule assignment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /rule-assignments/{id}","href":"/en/api-reference/allowance-management/update-a-rule-assignment"},{"title":"List a member's allowance adjustments","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/adjustments","href":"/en/api-reference/allowance-management/list-a-members-allowance-adjustments"},{"title":"Create an allowance adjustment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/adjustments","href":"/en/api-reference/allowance-management/create-an-allowance-adjustment"},{"title":"Delete an allowance adjustment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /adjustments/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-adjustment"},{"title":"Set the organisation default rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /allowance-types/{allowance_type_id}/default-rule","href":"/en/api-reference/allowance-management/set-the-organisation-default-rule"},{"title":"Move a member to another rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/rule-change","href":"/en/api-reference/allowance-management/move-a-member-to-another-rule"},{"title":"Switch a member to manual allowance management","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/manual-rule","href":"/en/api-reference/allowance-management/switch-a-member-to-manual-allowance-management"},{"title":"List the members currently on a rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /rules/{rule_id}/members","href":"/en/api-reference/allowance-management/list-the-members-currently-on-a-rule"},{"title":"Read the audit log of a rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /rules/{rule_id}/audit-log","href":"/en/api-reference/allowance-management/read-the-audit-log-of-a-rule"},{"title":"Read the audit log of an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{allowance_type_id}/audit-log","href":"/en/api-reference/allowance-management/read-the-audit-log-of-an-allowance-type"},{"title":"Read a member's rule history","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/rule-audit-log","href":"/en/api-reference/allowance-management/read-a-members-rule-history"},{"title":"List all allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types","href":"/en/api-reference/allowance-management/list-all-allowance-types"},{"title":"Create an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types","href":"/en/api-reference/allowance-management/create-an-allowance-type"},{"title":"Read an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{id}","href":"/en/api-reference/allowance-management/read-an-allowance-type"},{"title":"Delete an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /allowance-types/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-type"},{"title":"Update an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /allowance-types/{id}","href":"/en/api-reference/allowance-management/update-an-allowance-type"},{"title":"Reorder the allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types/reorder","href":"/en/api-reference/allowance-management/reorder-the-allowance-types"},{"title":"List a member's allowances","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowances","href":"/en/api-reference/allowance-management/list-a-members-allowances"},{"title":"Read a member's allowance history","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowance-audit-log","href":"/en/api-reference/allowance-management/read-a-members-allowance-history"},{"title":"Explain one year of a member's allowance","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowance-breakdown","href":"/en/api-reference/allowance-management/explain-one-year-of-a-members-allowance"},{"title":"Let the carry-over be computed again","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowances/{id}/revert-carryover-override","href":"/en/api-reference/allowance-management/let-the-carry-over-be-computed-again"}]},{"group":"Out of office","pages":[{"title":"Get a member's out of office settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/out-of-office-settings","href":"/en/api-reference/out-of-office/get-a-members-out-of-office-settings"},{"title":"Create or update a member's out of office message","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/out-of-office-settings/{leave_type_id}","href":"/en/api-reference/out-of-office/create-or-update-a-members-out-of-office-message"},{"title":"Delete a member's out of office message","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /members/{member_id}/out-of-office-settings/{leave_type_id}","href":"/en/api-reference/out-of-office/delete-a-members-out-of-office-message"}]},{"group":"Exports","pages":[{"title":"Start an export","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /exports","href":"/en/api-reference/exports/start-an-export"},{"title":"Get the file of an export","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /exports/{id}/file","href":"/en/api-reference/exports/get-the-file-of-an-export"}]},{"group":"Overtime","pages":[{"title":"List overtime entries","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /overtime-entries","href":"/en/api-reference/overtime/list-overtime-entries"},{"title":"Log overtime","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries","href":"/en/api-reference/overtime/log-overtime"},{"title":"Get an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /overtime-entries/{id}","href":"/en/api-reference/overtime/get-an-overtime-entry"},{"title":"Approve an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/approve","href":"/en/api-reference/overtime/approve-an-overtime-entry"},{"title":"Decline an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/decline","href":"/en/api-reference/overtime/decline-an-overtime-entry"},{"title":"Cancel an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/cancel","href":"/en/api-reference/overtime/cancel-an-overtime-entry"}]}]}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/requests/change-a-request"}]}]},"basePath":"","title":"Change a request - absentify®","buildId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","deploymentId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CASS2Vpq.js","utils-4k9fyWRu.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-UU-UueZb.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BgJ0LOYq.js","snippetPresets-CMgzlMR-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BzEJegkK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CZuQIZdk.js","shallow-Bw5arfMA.js","getApiPlaygroundDisplay-Ds834aVN.js","CodeSnippet-CKzmjw9L.js","CodeSnippets-BRpgomdp.js","Page-DvEUoD2H.js","getPastedJson-B0N-Tn76.js","icon-DASMs9nC.js","MethodPill-BA6DBLqx.js","DuplicateIcon-BMT5qfbJ.js","createIcon-CNfwVWPx.js","DynamicMarkdown-JYyBNlrJ.js","SectionHeading-BbZnmz8a.js","axios-vUo_bRtp.js","Markdown-LUU0YLpA.js","clsx-Di4ek5Ae.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-VEVWQCR4.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CPszyu99.js"]}