Skip to main content
PUT
/
brands
/
{id}
Update Brand
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"
}
'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"domain": "<string>",
"relation": "SELF"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Path Parameters

id
string<uuid>
required

Brand ID

Body

application/json
relation
enum<string> | null
required

Brand relation to project (null to remove)

Available options:
SELF,
DIRECT_COMPETITOR,
OTHER,
IGNORED

Response

Default Response

id
string<uuid>
required

Brand unique identifier

name
string
required

Brand name

domain
string | null

Brand domain

relation
enum<string> | null

Brand relation to project

Available options:
SELF,
DIRECT_COMPETITOR,
OTHER,
IGNORED