# Update deal loss reason

You can update a deal loss reason.

PUT /deal-loss-reasons/:loss-reason-id/

Attributes Type Required Description
loss-reason-id integer yes A unique identifier for a loss reason deal.
reason string yes A reason for a lost deal.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X PUT -H "Authorization: Token <your_64_char_api_key>" -H "Content-Type: application/json" 
       -H "Accept: */*; version=2" -d '{
    "reason": "my custom reason updated"
}' "https://<your_app_subdomain>.user.com/api/public/deal-loss-reasons/:loss-reason-id/"

# Response

{
    "id": 5,
    "reason": "my custom reason updated"
}