Skip to main content

Create project preferences

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

Path Parameters
    id string required
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/projects/:id/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
id — path required
Body required
{
"bodies": [
{
"name": "string",
"value": "string"
}
]
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/projects/:id/preferences' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"bodies": [
{
"name": "string",
"value": "string"
}
]
}'