Delete a comment
You can delete a comment on a candidate using the API.
Request
This method allows you to delete a comment on a candidate:
DELETE /company/{companyID}/applicant/{applicantID}/comment/{commentID}
Parameters
| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| companyID | path | string | Company identifier | 0GjqBwprWAdArDl4 | |
| applicantID | path | string | Candidate id | ADYjo9mGxZdkR0ry | |
| commentID | path | string | Comment id | kZ1lVpD9a4o19We7 |
Request example
cURL request
curl -X DELETE 'https://api.flatchr.io/company/0GjqNwprWAdArDl4/applicant/ADYjo9mGxZdkRAry/comment/kZ1lVpD9a4o19We7'
-H "Authorization: Bearer {token}"
-H 'Content-Type: application/json'
Response
| Name | Type | Description |
|---|---|---|
| statusCode | integer | Request status code |
| message | string | Message explaining the status |
Response example
{
"statusCode": 200,
"message": "Comment deleted"
}