Sitecore API catalog/Agent API//
- Remove component on page
Create a page
Add a language version to a page
Add a component to a page
Retrieve components on a page
Set the component datasource
Search for pages on a site
Retrieve the page by live URL
Retrieve the screenshot of a page
Retrieve the page HTML
Retrieve the page preview URL
Retrieve the page template by ID
Retrieve the page details
List allowed components for a placeholder
Move a component on a page
Remove component on page
Removes a specific component from a page. Use this to clean up orphaned component references after deleting a datasource item.
Security
HTTPBearer
The unique identifier of the page. To get this ID, use List pages of a site.
Example:550e8400-e29b-41d4-a716-446655440000
The unique identifier of the component. To get this ID, use the List allowed components for a placeholder endpoint.
Example:86a03271-dff4-470a-92bd-b68c67de2e25
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/{pageId}/components/{componentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X DELETE \
'https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/550e8400-e29b-41d4-a716-446655440000/components/86a03271-dff4-470a-92bd-b68c67de2e25?language=en' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
The unique identifier of the removed component.
Example:"86a03271-dff4-470a-92bd-b68c67de2e25"
Response
- string
- null
{ "success": true, "removedComponentId": "86a03271-dff4-470a-92bd-b68c67de2e25", "affectedExperiments": [ { … } ] }