POST
/
assets
/
{asset_id}
/
toggle
curl --request POST \
  --url https://api.flare.io/firework/v2/assets/{asset_id}/toggle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "is_disabled": true
}'
{
  "asset": {
    "count": 123,
    "data": {},
    "data_updated_at": "2023-11-07T05:31:56Z",
    "experimental_search_types": [
      "<string>"
    ],
    "feed_id": 123,
    "fetching_progress": 123,
    "id": 123,
    "is_disabled": true,
    "name": "<string>",
    "risks": [
      123
    ],
    "search_types": [
      "illicit_networks"
    ],
    "source": "USER",
    "tenant_id": 123,
    "type": "domain",
    "urn": "<string>",
    "v3_refs": {
      "asset_uuid": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

asset_id
integer
required

Body

application/json
is_disabled
boolean
default:
true
required

The is_disabled parameter is used to toggle the asset as either enabled or disabled.

Response

200 - application/json
Success
asset
object