Assignment deleted result
const url = 'https://api-uat.flinkey.de/v3/webhooks/assignmentDeletedResult';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"checksum":"abc123def456","assignmentId":77001,"customerId":99001,"operationSucceeded":true,"errorMessage":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api-uat.flinkey.de/v3/webhooks/assignmentDeletedResult \ --header 'Content-Type: application/json' \ --data '{ "checksum": "abc123def456", "assignmentId": 77001, "customerId": 99001, "operationSucceeded": true, "errorMessage": null }'Purpose
Receive the asynchronous result of an assignment deletion request.
This webhook is sent by flinkey after an assignment deletion operation has been processed.
Assignment deletion is asynchronous.
The initial API response confirms that the deletion request was accepted.
This webhook provides the final operation result.
When to use this operation
Use this webhook when the partner backend needs to finalize local assignment state after deleting an assignment.
Typical situations:
- confirming that an assignment deletion was processed successfully,
- marking a local assignment as deleted,
- marking a local assignment deletion as failed,
- storing
errorMessagefor troubleshooting, - reconciling pending assignment deletion requests,
- deciding whether access should still be shown as available in the partner system,
- removing or disabling mobile access context after successful assignment deletion.
Do not mark an assignment as deleted before this webhook has been processed.
Do not rely only on the initial assignment deletion API response for final assignment state.
Validation notes
PROD validation result:
- The configured delete-result endpoint received an HTTP
POSTafter the assignment delete API returned204 No Content. - The incoming request used
Content-Type: application/json; charset=utf-8. - The successful payload contained
checksum, numericassignmentId, numericcustomerId,operationSucceeded: trueanderrorMessage: null. - No secret was configured for the delete-result endpoint during this validation; each webhook endpoint has its own secret configuration field in the portal.
Async behavior
This webhook is the asynchronous result of Delete assignment.
The partner backend should use this webhook to finalize local assignment deletion state.
The initial assignment deletion API response is not the final result.
Webhook result
Yes.
This entry describes the assignment deleted result webhook.
Use operationSucceeded to decide the final local deletion state.
Security notes
Never log:
- webhook secret,
- full request headers,
- backend bearer tokens,
- API keys,
- SDK Keys,
- digital keys.
Validate the secret header if a webhook secret is configured.
Do not paste real webhook payloads containing sensitive identifiers into documentation, screenshots, tickets or AI prompts.
Use placeholders in documentation and examples.
The checksum is not a replacement for webhook secret validation.
Endpoint ownership
The receiving endpoint is configured and operated by the integration partner.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Optional webhook secret configured in the flinkey Portal
Request Bodyrequired
Section titled “Request Bodyrequired”object
Hash value generated from the payload of the initial request
Assignment database ID
Customer database ID
Indicates whether assignment deletion succeeded
Error message if the operation failed
Example
{ "checksum": "abc123def456", "assignmentId": 77001, "customerId": 99001, "operationSucceeded": true, "errorMessage": null}Responses
Section titled “Responses”Webhook event was accepted and processed successfully
Webhook event was accepted and processed successfully without response body
Webhook payload is invalid or cannot be parsed
Recommended handling: Reject the event and log sanitized diagnostics
Webhook secret is missing or invalid
Recommended handling: Reject the event and do not process the payload
Webhook secret is invalid or request is not allowed
Recommended handling: Reject the event and do not process the payload
Partner backend could not process the event
Recommended handling: Retry or escalate according to partner webhook handling policy
