put/api/v2/brands/{id}
Update a brand relationship.
Update a brand relationship.
Requires bearer API keyParameters
| Name | In | Description |
|---|---|---|
| X-Project-Id | header | Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string |
| id | path / required | No description provided.string |
Request Body
{
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"domain": {
"type": "string"
},
"relation": {
"type": "string",
"enum": [
"SELF",
"DIRECT_COMPETITOR",
"OTHER",
"IGNORED"
]
}
}
}Responses
200
application/jsonSuccessful JSON response.
{
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"domain": {
"type": "string",
"nullable": true
},
"relation": {
"type": "string",
"enum": [
"SELF",
"DIRECT_COMPETITOR",
"OTHER",
"IGNORED"
]
},
"source": {
"type": "string",
"nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"relation"
]
}Try it
Send this request to the local WatchLLM REST handler. Use a key from /workspace/api; organization keys can include X-Project-Id only when the endpoint documents that header.