# Overview of employee management

The following APIs are provided for the Employee Management resource:

## Methods

**[Create employee](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/create)**

&emsp;&emsp;This API is used to create employees under the enterprise, which can be understood as employee onboarding. An employee refers to a member of Feishu who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI.

**[Patch employee](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/patch)**

&emsp;&emsp;This API is used to update the information of an incumbent or retired employee and freeze or restore an employee. Parameters that are not passed are not updated. An employee is a member of Feishu who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI

**[Delete employee](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/delete)**

&emsp;&emsp;This API is used to delete an employee

**[Resurrect employee](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/resurrect)**

&emsp;&emsp;This interface is used to restore a member who has left the company

**[Update unresigned employees to pre-resigned](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/to_be_resigned)**

&emsp;&emsp;This interface is used to handle the departure of current employees and update them to the status of "pending departure". "pending departure" employees will not automatically leave, and need to use the "delete employee" API to terminate and transfer resources.

**[Update pre-resigned employee to un-resigned](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/regular)**

&emsp;&emsp;This interface is used to cancel the departure of the pending employee and update it to the "on-the-job" status. When canceling the departure, the departure information will be cleared.

**[Get employee information in bulk](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/mget)**

&emsp;&emsp;This API is used to query the details of employees based on their IDs in batches. An employee is a member of Feishu who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI

**[Query the list of employees in batches](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/filter)**

&emsp;&emsp;This API is used to obtain the detailed list of eligible employees in batches based on specified conditions. An employee is a member of Feishu who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI

**[Search for employees](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/search)**

&emsp;&emsp;This API is used to search for employee information. An employee is a member of Feishu who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI

