Delete a Competitor
DELETE/competitors/{competitorId}
Permanently delete a competitor. The response is the deleted competitor.
Needs write access. About keys
Request
curl -X DELETE "https://app.vyingfor.com/api/v1/competitors/{competitorId}" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
competitorId required | Path | string | Competitor identifier (UUID). |
Response
200 Competitor deleted (returns the deleted competitor)
| Field | Type | Description |
|---|---|---|
id | string | |
brandId | string | |
name | string | |
domains | string[] | |
aliases | string[] | |
createdAt | string | |
updatedAt | string |
Errors
400Invalid request data401Authentication required403The key is valid but doesn't have the access this request needs.404Resource not found429Per-key rate limit exceeded.500Internal server error