Cue
API ReferenceProfiles

Update a profile

Update a profile's name, group, or active status.

PATCH
/profiles/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.

Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234

In: header

Path Parameters

id*string

Profile ID

Request Body

application/json

name?string

Updated profile name

Length1 <= length <= 100
groupId?string

New group ID, or null to remove from group

active?boolean

Active status

Response Body

application/json

application/json

application/json

curl -X PATCH "https://api.oncue.so/v1/profiles/prf_h7k2m9xp4qnj" \  -H "Content-Type: application/json" \  -d '{    "name": "Updated Brand Name",    "active": true  }'
{
  "data": {
    "id": "prf_h7k2m9xp4qnj",
    "userId": "usr_x9k4m2n7pqhj",
    "name": "Updated Brand Name",
    "groupId": null,
    "active": true,
    "createdAt": "2025-01-10T08:00:00Z",
    "updatedAt": "2025-01-15T11:00:00Z"
  }
}
{
  "error": "Unauthorized"
}
{
  "error": "Profile not found"
}