Skip to Content
ReferenceAPISettingsCreate a setting

Settings API

Create a setting

Create a workspace or current-member setting.

POST/v1/settings
capability settings.create · v1operational dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • scope"workspace"required
    body
  • key"workspace.name"required
    body
  • valuestringrequired
    bodymin length 1max length 120

Response

Successful responses use Dawn's data envelope.

  • dataSettingrequired
    • idstring<uuid>required
    • workspaceIdstring<uuid>required
    • createdAtstring<date-time>required
    • updatedAtstring<date-time>required
    • scope"workspace"required
    • memberIdnullrequired
    • key"workspace.name"required
    • valuestringrequired
      min length 1max length 120
  • metaobject

Errors

Error responses use the shared error envelope.

  • 409A setting with this key already exists at this scope.
  • 422The setting is invalid.
  • 503The setting could not be saved.
Last updated on