Change a custom property
PUT/custom-properties/:id
Partial; PATCH behaves the same. Only the fields sent change: everything else the
property has (its group, layout, help, options) stays as it is. object_type and subtype
cannot change (422 … : immutable); a system property (system: true) keeps its type
(422 type: locked). Changing the type of any other property does not convert the
values objects already have. enabled: true brings back a disabled property.
Administrators only. Since 4.3.1.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The property as it is now
Missing, invalid or expired token, or no contact matches it.
Authenticated, but not allowed.
Unknown route, or the resource is missing or in the trash; message names what was
looked for (task, note, payment_receipt, expense…). On an expenses route,
message: "expenses" means the plugin is not active.
Invalid input. details maps each field to a reason the client can switch on
(required, invalid, not_found, conflict, unsupported, …; see each operation);
_: rejected is a refusal by EVX Software's own save, with its message.