In this article, you will discover how to delete a single process in the Gamfi application using the API.
To remove a single process in the Gamfi application use the method and endpoint:
POST
+ /api/app_api_admin.php/v2/workflows/integration/process/{proces_id}/delte
Example cURL:
curl --location --request POST 'https://{app_name}.gamfi.io/api/app_api_admin.php/v2/workflows/integration/process/{proces_id}/delete' \
--header 'X-Samus-Authorization-Api-Key: {apiKey}' \
--header 'X-Samus-Authorization-Api-Secret: {apiSecret}' \
--header 'Content-Type: application/json'
In place:
- {app_name} - insert the name of your application
- {proces_id} - - insert process ID from Gamfi application
- {apiKey} - insert API key
- {apiSecret} - insert API secret
If the answer is correct, you will receive a status (204).
⚠️ Process deletion is the complete removal of a process from an application without the ability to restore it.