Employments
Delete an employment
You cannot delete the employment of an employee if it is the only one they have. In this case, please update it.
DELETE
Delete an employment
Access
Access
OAuth 2.0 scopes
EstablishmentsThis API endpoint will filter out results based on accessible business-establishments.You may only access employments belonging to employees whose applicable business-establishments are accessible to you.
EstablishmentsThis API endpoint will filter out results based on accessible business-establishments.You may only access employments belonging to employees whose applicable business-establishments are accessible to you.
Authorizations
The Lucca API implements the oAuth 2 protocol with the client-credentials-flow. Refer to RFC8725.
Scopes
Create, update or delete employments.
Headers
Set the API version.
Available options:
2024-11-01 Allowed value:
"2024-11-01"Maximum string length:
10Example:
"2024-11-01"
Query Parameters
Include metadata:
embedded: the partial or complete representations of related resources (e.g. the employee the resource belongs to).links: links to related resources or actions (e.g. approving a leave-request). May benullwhen you do not have access to the resource (or action). Includes the download links of the files the resource references, underlinks.files.totalCount: only applicable on collections (i.e. lists of resources), gives the total number of items across all pages.
Read more about expanding responses.
Available options:
embedded, links, totalCount Response
No Content