Delete Employee Ability
ลบความสามารถพิเศษของพนักงาน
การลบข้อมูลไม่สามารถกู้คืนได้ กรุณาตรวจสอบให้แน่ใจก่อนดำเนินการ
พารามิเตอร์ ability_id ต้องส่งเป็น Base64-encoded string
Endpoint
POST /api/v1/open-apis/employee/delete-employee-profile?path_action=abilityQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path_action | string | Yes | ต้องเป็น ability |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
ability_id | string | Yes | ID ของความสามารถพิเศษที่ต้องการลบ (Base64-encoded) |
Response Format
Success Response
{
"code": 200,
"message": "Delete Ability Success",
"payload": {
"ability_id": "20260121AB01C2D3E4F5",
"deleted": true
}
}Error Response
{
"code": 400,
"message": "Validation failed",
"errors": ["Missing required parameter: ability_id"]
}Code Examples
cURL
curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/delete-employee-profile?path_action=ability" \
-H "Content-Type: application/json" \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-d '{
"ability_id": "MjAyNjAxMjFBQjAxQzJEM0U0RjU="
}'Related APIs
- List Abilities - ดึงรายการความสามารถพิเศษทั้งหมด
- Get Ability - ดึงข้อมูลความสามารถพิเศษตาม ID
- Add Ability - เพิ่มความสามารถพิเศษ
- Update Ability - แก้ไขความสามารถพิเศษ
Last updated on