Examples

DELETE /api/trends/22
{
  "trend": {}
}
200
{
  "id": 22,
  "trendable_type": "Environment",
  "trendable_id": 7,
  "name": "trend7",
  "fact_value": null,
  "fact_name": "fact",
  "created_at": "2019-09-11T14:41:07.646Z",
  "updated_at": "2019-09-11T14:41:07.646Z"
}

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.