# Create unavailability event **POST /employees/{id}/unavailability-event** Create unavailability event for employee ## Servers - https://api.staging.pexipengage.com/enterprises/acme: https://api.staging.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters ### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain ### Path parameters - **id** (string) Primary identifier of the requested resource ### Body: application/json (object) - **end** (string(date-time)) - **start** (string(date-time)) - **answers** (array[object] | null) ## Responses ### 201 Successful operation #### Body: application/json (object) - **data** (object) ### 404 Resource not found #### Body: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)