Content Library
Update Content Library Link
Update the URL or function payload of a Weblink or JS Function content item in your PX Subscription.
Only content items of type LINK, or FUNC_CALL are supported.
Examples:
| URI | Results |
|---|---|
| PUT /v1/content-library | Update a Weblink URL: { "contentId": "abcd1234", "url": "https://example.com" } |
| PUT /v1/content-library | Update a JS Function payload: { "contentId": "abcd1234", "funcPayload": "{\"key\":\"value\"}" } |
<b>Important:</b> For Weblink types (LINK), provide url in the request body. For JS Function types (FUNC_CALL), provide funcPayload. The content type is inferred from the contentId — only one field is applied per call.
put/v1/content-library
Request
- Base URLhttps://app.aptrinsic.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.