API reference
Withdraw a score flag
DELETE
Withdraws a flag the key's owner raised. Withdrawing one already withdrawn changes nothing. Answers score_flag_not_yours for a flag someone else raised.
Required scope: reports:write.
Errors
- 400:
unknown_field - 401:
authentication_required,invalid_api_key - 403:
api_access_disabled,insufficient_scope,score_flag_not_yours - 404:
report_not_found,score_flag_not_found - 422:
invalid_parameter - 429:
rate_limit_exceeded - 500:
api_error - 503:
maintenance_mode,service_unavailable
ApiKeyheader
AuthorizationBearer <probb_live_<id>_<secret>>id*stringThe report's ID.
Length
1 <= length <= 200flagId*stringThe flag's ID.
Length
1 <= length <= 200Success.
application/json- response
object*stringid*stringdeleted*boolean# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X DELETE "$PROBB_URL/api/v1/reports/ID_VALUE/score-flags/FLAG_ID_VALUE" \ -H "Authorization: Bearer $PROBB_API_KEY"Example Response
{ "object": "score_flag", "id": "string", "deleted": true}