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": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "domain": "<string>", "relation": "SELF"}
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 unique identifier
Brand name
Brand domain
Brand relation to project