cURL
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": { "data": {}, "name": "<string>", "search_types": [ "source_code_files" ], "type": "domain", "count": 123, "data_updated_at": "2023-11-07T05:31:56Z", "experimental_search_types": [ "<string>" ], "feed_id": 123, "fetching_progress": 123, "id": 123, "is_disabled": true, "risks": [ 123 ], "source": "USER", "tenant_id": 123, "urn": "<string>", "v3_refs": { "asset_uuid": "<string>" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The is_disabled parameter is used to toggle the asset as either enabled or disabled.
is_disabled
Success
Show child attributes
Was this page helpful?