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

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
type
enum<string>
required
Available options:
domain,
brand,
name,
keyword,
github_repository,
username,
email,
search_query,
bin,
ip,
secret,
azure_tenant,
identity
Example:

"domain"

search_types
enum<string>[]
required
Available options:
domain,
stealer_log,
source_code_secrets,
bucket,
bucket_object,
listing,
google,
social_media_account,
forum_topic,
leak,
docker,
paste,
blog_post,
forum_profile,
service,
ransomleak,
source_code_files,
forum_post,
seller,
chat_message,
stack_exchange,
financial_data,
bot,
illicit_networks,
open_web,
buckets,
source_code,
leaks,
domains,
forum_content,
blog_content,
profile,
infected_devices,
social_media
name
string
required
Minimum string length: 1
data
object
required
id
integer
tenant_id
integer
feed_id
integer
experimental_search_types
string[]
v3_refs
object
risks
integer[]
fetching_progress
integer
count
integer
urn
string

The uniform resource name of the identifier.

is_disabled
boolean
source
enum<string>
Available options:
USER,
SYSTEM_RELATION,
SELF_ONBOARDING,
ATTRIBUTE,
IDP_SYNC
Example:

"USER"

data_updated_at
string<date-time>

Response

Success

asset
object