menus/{app}/items/{menu_item_id}
PATCH {{base_url}}/{{base_path}}/menus/:app/items/:menu_item_id
Generated from a curl request:
curl -X PATCH '{{baseurl}}/{{basepath}}/menus/{{app}}/items/{{menuitemid}}' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{"componentid:
20,
language:
*,
link:
index.php?option=com_content&view=form&layout=edit,
menutype:
mainmenu,
note:
,
title:
new title,
type:
component"}'
Request Body
{"component_id"=>"20", "language"=>"*", "link"=>"index.php?option=com_content&view=form&layout=edit", "menutype"=>"mainmenu", "note"=>"", "title"=>"new title", "type"=>"component"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |