Skip to main content

Authentication

Session token (Authorization: Bearer <token>) with the parsers:write permission. Tenant roles with it: company_admin, company_tech, operational_supervisor, corporate_client.
The integration API key (x-wede-api-key) has no parsers:* permission. Calls with an API key return 403 forbidden.

Update a parser

string
required
Parser UUID.
string
2 to 100 characters.
string
Up to 500 characters.
object[]
The complete new list of 1 to 50 field definitions. It replaces the stored schema and must respect the field protection rules below.
boolean
true activates this version and deactivates every other version of the same vertical. false deactivates only this version.
Send only the fields you want to change. A body with no fields returns the parser unchanged.
Returns 200 with the updated parser object.

Field protection

wede compares the schema you send with the schema it has stored, matching fields by id, and rejects the whole update if any rule is broken: A rejected update returns 403 and changes nothing. wede records it in your audit log.
Possible reason values: integrity_core_cannot_be_removed, integrity_core_cannot_be_disabled, integrity_core_cannot_be_unlocked, locked_field_cannot_be_removed, locked_field_cannot_be_disabled, lock_flag_change_requires_wede_admin. Fields marked legal: true are not protected by these rules. They label personal data, and you decide which of them your operation needs: enable, disable or remove them like any other field.

Errors


Delete a parser

Deletes one parser version. Other versions of the vertical are not changed.
Returns 204 with no body.

Errors