FeedHorizon API
Profiles
PATCH
/profiles/{id}

Updates a profile's name, color, or default status.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fh_ prefix. Pass as Authorization: Bearer fh_...

In: header

Path Parameters

id*string

Request Body

application/json

name?string
color?string
isDefault?boolean

Response Body

application/json

application/json

curl -X PATCH "https://app.feedhorizon.dev/api/v1/profiles/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": "string",
    "name": "string",
    "color": "#f5d76e",
    "userId": "string",
    "isDefault": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}