Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Delete Employee Document

ลบเอกสารของพนักงาน

การลบข้อมูลไม่สามารถกู้คืนได้ กรุณาตรวจสอบให้แน่ใจก่อนดำเนินการ

พารามิเตอร์ documents_id ต้องส่งเป็น Base64-encoded string

Endpoint

POST /api/v1/open-apis/employee/delete-employee-profile?path_action=document

Query Parameters

ParameterTypeRequiredDescription
path_actionstringYesต้องเป็น document

Request Body

ParameterTypeRequiredDescription
documents_idstringYesID ของเอกสารที่ต้องการลบ (Base64-encoded)

Response Format

Success Response

{ "code": 200, "message": "Delete Document Success", "payload": { "documents_id": "20260213ABC1234567890", "deleted": true } }

Error Response

{ "code": 400, "message": "Validation failed", "errors": ["Missing required parameter: documents_id"] }

Code Examples

curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/delete-employee-profile?path_action=document" \ -H "Content-Type: application/json" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \ -d '{ "documents_id": "MjAyNjAyMTNBQkMxMjM0NQ==" }'

Last updated on