Add Company Assets

Add primary domains, apks, and/or external_domains to a company. Values are deduplicated against the existing arrays via $addToSet. At least one of the three asset arrays must be provided and non-empty.

If the authenticated user belongs to an organization with synced_data: true, only the user with organization.role: "owner" can call this endpoint. Other members receive 403 Forbidden.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

MongoDB ObjectId of the target company

Body Params
domains
array of strings
length ≤ 100

Primary domains to add

domains
apks
array of strings
length ≤ 100

APK package names to add

apks
external_domains
array of strings
length ≤ 100

External (third-party) domains to add

external_domains
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json