CorebanqCorebanq Developer Docs
User Preferencesv1

Create this user's default preferences

Seeds the owner's groups, preferences and options from the default preferences configuration. Note the customer-side equivalent of this route is registered nowhere — it is commented out in the route table — so this is the only setup-defaults there is.

POST
/v1/user-preferences/{user_id}/setup-defaults

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

user_id*string

Owner of the preferences. This is the record the preferences belong to, NOT the caller — an actor with the right record permission reads and writes another user's preferences through the same route.

Response Body

application/json

curl -X POST "https://example.com/v1/user-preferences/497f6eca-6276-4993-bfeb-53cbbbba6f08/setup-defaults"
{
  "message": "string"
}
Empty
Empty
Empty