Delete a reward by ID
DELETE/reward/:rewardId
Delete a reward by ID
Request
Path Parameters
rewardId rewardIdrequired
The unique identifier for the reward to delete
Responses
- 204
- 403
- 404
- 500
Reward deleted successfully
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Loading...