Delete an Application
In order to delete a not submitted application you need the ID of it. If the application already has been submitted the applicant has the possibilitiy to withdraw it.
HTTP-Method
DELETE
Path
/api/rest/v3/frontend/applications/{applicationId}
Authentification
Path Parameter
applicationId
Query Parameter
-none-
Responses
Action | Response | Description |
---|---|---|
success | 204 – no content | The application was deleted successfuly |
authorization error | 401 / 403 | See hier and hier for details. |
not found | 400 – { “code”: “application_access_error”, “message”: “Application does not exist” } | No application was found for the provided ID or the applicant does not own it. |
not editable | 400 – { “code”: “application_access_error”, “message”: “Application can not be deleted once submitted” } | The application has already been submitted and can’t be deleted anymore |
Example call with curl and user access token
1 |
curl -i -H "Authorization: Bearer a88a95e3-c7ed-4619-abfe-de84165a6ba6" -X DELETE "https://api.softgarden.io/api/rest/v3/frontend/applications/f2625987-62eb-413a-bb55-d868d2da9ac6" |