Examples

DELETE /api/trends/32
{
  "trend": {}
}
200
{
  "id": 32,
  "trendable_type": "Environment",
  "trendable_id": 120,
  "name": "trend13",
  "fact_value": null,
  "fact_name": "fact",
  "created_at": "2018-07-24T13:15:10.695Z",
  "updated_at": "2018-07-24T13:15:10.695Z"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

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.