Skip to main content

Create current user preferences

Create a new user preferences. The user preferences name must be unique within the user and can contain only alphanumeric characters, dashes and underscores.

Request Body required
    bodies object[]
  • Array [
  • name string
    value string
  • ]
Responses

A successful response.


Schema
    preferences object[]
  • Array [
  • id string
    name string
    value string
    resource_id string
    resource_type string
    created_at date-time

    The time when the preference was created.

    updated_at date-time

    The time when the preference was updated.

  • ]
POST /v1beta1/users/self/preferences

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
Body required
{
"bodies": [
{
"name": "string",
"value": "string"
}
]
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/users/self/preferences' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"bodies": [
{
"name": "string",
"value": "string"
}
]
}'