patch https://{instance_zuid}.api.zesty.io/v1/content/links/
Updates an existing link record using one or more properties. Body must contain at least 1 updatable property.
Body: raw JSON
name | description |
---|---|
type | [string] Type of link. Right now, updating "external" type links are not available. So this will only accepts "internal" |
parentZUID | [string] A parent for your link. Accepts an item ZUID . If there will be no parentZUID , you can pass in "0" as a value. |
label | [string] Navigation label. |
metaTitle | [string] Title of the meta. |
source | [string] Behavior of the link. Accepts "rel:true" and/or "target:_blank" . You can set it to a blank string "" if you don't want to use any of the behaviour and they will be set to their default values. If you want to use both, use a ";" separator. |
target | [string] Link to target. If the type is internal , this should be an item ZUID you want to link to. If the type is external , the value should be a full external URL. Example: "https://www.google.com" |