Skip to content

Plan a base entity definition update and return schema-impacting warnings.

POST
/api/workspace/admin/entity-definitions/{entityDefinitionId}/base/schema-change-plan
curl --request POST \
--url https://example.com/api/workspace/admin/entity-definitions/example/base/schema-change-plan \
--header 'Content-Type: application/json' \
--data '{ "Name": "example", "DisplayNameSingular": "example", "DisplayNamePlural": "example", "Description": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "IsReadOnly": true, "DisabledOperations": 0, "SchemaChangeConfirmationToken": "example" }'

Call this with the intended update payload first; when the plan requires confirmation, repeat the update with the returned confirmation token.

  • None
entityDefinitionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

Request payload to update base entity definition settings.

object
Name
required

Internal entity name.

string
DisplayNameSingular
required

User-facing singular name.

string
DisplayNamePlural
required

User-facing plural name.

string
Description

Optional entity description.

string
nullable
RowVersion
required

Expected row version.

string format: uuid
IsReadOnly

Whether runtime writes should be blocked for this entity. Null preserves the current value.

boolean
nullable
DisabledOperations
integer format: int32
Allowed values: 0 1 2 4 8 16 32 64 128
SchemaChangeConfirmationToken

Confirmation token returned by the matching schema-change-plan endpoint; required when the planned change is destructive.

string
nullable

OK

Media typeapplication/json
object
Data

Schema change awareness result for a planned entity schema mutation.

object
Warnings

Warnings produced by the planned schema mutation.

Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
RequiresConfirmation

Whether the mutation must be explicitly confirmed before it can be applied.

boolean
ConfirmationToken

Stateless confirmation token accepted by the matching apply endpoint.

string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Bad Request

Media typeapplication/json
object
Data

Schema change awareness result for a planned entity schema mutation.

object
Warnings

Warnings produced by the planned schema mutation.

Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
RequiresConfirmation

Whether the mutation must be explicitly confirmed before it can be applied.

boolean
ConfirmationToken

Stateless confirmation token accepted by the matching apply endpoint.

string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Forbidden

Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/json
object
Data

Schema change awareness result for a planned entity schema mutation.

object
Warnings

Warnings produced by the planned schema mutation.

Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
RequiresConfirmation

Whether the mutation must be explicitly confirmed before it can be applied.

boolean
ConfirmationToken

Stateless confirmation token accepted by the matching apply endpoint.

string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}