cURL
curl --request PUT \ --url https://server.promptwatch.com/api/v2/brands/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "relation": "SELF" } '
200
Example
{ "id": "6ba7b81c-9dad-11d1-80b4-00c04fd430c8", "name": "Contoso Insights", "domain": "contoso.example", "relation": "DIRECT_COMPETITOR" }
Update brand relationship.
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Brand ID
Brand relation to project (null to remove)
SELF
DIRECT_COMPETITOR
OTHER
IGNORED
Default Response
Brand identifier
Brand name
Brand hostname when known (e.g. example.com).
Brand relation to project