Examples

DELETE /api/trends/14
{
  "trend": {}
}
200
{
  "id": 14,
  "trendable_type": "Environment",
  "trendable_id": 5,
  "name": "trend5",
  "fact_value": null,
  "fact_name": "fact",
  "created_at": "2020-03-05T13:42:45.868Z",
  "updated_at": "2020-03-05T13:42:45.868Z"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.