DriveLock API icon

DriveLock API

Consume DriveLock API

Manage Schema Extension → Set Custom Data

AI-generated

Summary

Update custom data values of a schema extension in DriveLock by specifying the schema extension to update and the custom properties with their new values.

Inputs

  • Schema to Update (required) — The schema extension ID to update, specified by its unique identifier.
  • Update Property-Values (required) — A collection of custom property names and values to set on the specified schema extension.

Output shape

a JSON object indicating the success status and the payload of updated property values

Returns { success: true, payload: { : { : , ... } } }. Throws errors if the update fails or parameters are invalid.

Examples

Example 1: Update custom data values for a user schema extension

Set the 'Schema to Update' to the target customPropertyId (the ID of the user schema extension). Provide one or more 'Update Property-Values' entries with property names (from available schema extensions) and new values to assign. The node sends an API request to update those values in DriveLock and returns an object confirming success and the payload applied.

Links

Discussion