Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update attribute library entry

Update the values and usage of an entry inside a group, by the entry's ID. This is how you add, remove or change the predefined values of a lookup table.

Use the entry's data.id from Create attribute library entry as entity-id.

You can change an entry's options and usageType. You can't change its name or dataType.

The checksum is required. Use the one from the last Create entry or Update entry response. If it doesn't match the server's current checksum, the update is rejected.

On success, the response returns a new data.checksum. Store it for the next update.

Update attribute library entry

patch

Update the values and usage of an entry inside a group.

entity-id is the ID of the entry you want to update (data.id from Create attribute library entry), not the ID of the group.

What you can change: the entry's options and usageType. You can't change its name or dataType.

Checksum: checksum is required. Use the one from the last Create entry or Update entry response. If it doesn't match the server's current checksum, the update is rejected.

On success, the response returns a new data.checksum — store it for the next update.

Authorizations
Nected-API-KeystringRequired

Your Nected API key. Obtain from your workspace settings.

Path parameters
entity-idstringRequired

ID of the entry you want to update (data.id from the create entry response). This is not the ID of the group.

Example: 5e0d3b8a-7c41-4f9e-9a52-1d6c8b2f4e70
Header parameters
Nected-BranchstringOptional

Branch name (optional)

Body
dataTypestringOptional

Data type of the entry. Can't be changed.

Example: string
usageTypestringOptional

Whether the entry is required

Example: Mandatory
checksumstringRequired

Current checksum of the entry

Example: 6c1f0e9b2d8a4b7e9f3a5c1d7e2b8a40
Responses
200

OK — data.checksum is the entry's new checksum.

application/json

Success response for update calls

codestringOptional
messagestringOptional
patch/dev/v1/module_schema/{entity-id}
PATCH /dev/v1/module_schema/{entity-id} HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 166

{
  "dataType": "string",
  "usageType": "Mandatory",
  "options": [
    {
      "value": "Pending"
    },
    {
      "value": "Approved"
    },
    {
      "value": "Cancelled"
    }
  ],
  "checksum": "6c1f0e9b2d8a4b7e9f3a5c1d7e2b8a40"
}
{
  "code": "success",
  "message": "success",
  "data": {
    "checksum": "738bd0153c5f3af981bf8ac056a411fc"
  }
}

Request body

Field
Type
Required
Description

dataType

string

No

Data type of the entry, for example string. It can't be changed.

usageType

string

No

Whether the entry is required, for example Mandatory.

options

array

No

The predefined values. Each item is an object with a value key.

checksum

string

Yes

Current checksum of the entry.

Last updated