curl -L \
-X POST \
-H 'access_token: ${your-import-api-token}' \
-H 'Content-Type: application/json' \
'https://openapi.dfinery.ai/api/v1/identities?service_id=${your-service-id}' \
-d '{
"identity":{
"external_id": "dfn-user-123",
"email": "dfn@gmail.com",
"phone_no": "821012345678"
},
"request_datetime":"2024-06-24T06:01:48.501Z"
}
'Content-Type: application/json
access_token: text
{
"status": true,
"code": "20000",
"message": "OK",
"data": true
}curl -L \
-X POST \
-H 'access_token: ${your-import-api-token}' \
-H 'Content-Type: application/json' \
'https://openapi.dfinery.ai/api/v1/identities/delete?service_id=${your-service-id}' \
-d '{
"identity":{
"external_id": "dfn-user-123"
},
"request_datetime":"2025-05-13T06:01:48.501Z"
}
'Content-Type: application/json
access_token: text
{
"status": true,
"code": "20000",
"message": "OK",
"data": true
}