cURL
curl --request PATCH \ --url https://api.mottostreaming.com/ott/page_components/v1/{page_component_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "page_component_id": "<string>", "page_component_update": { "project_id": "<string>", "name": "<string>", "type": "<string>", "data": {}, "props": {}, "environments": [ "<string>" ], "visibility": "VISIBILITY_UNSPECIFIED", "group_id": "<string>" }, "update_mask": "<string>" }'
{ "page_component": { "id": "<string>", "project_id": "<string>", "name": "<string>", "type": "<string>", "data": {}, "props": {}, "environments": [ "<string>" ], "visibility": "VISIBILITY_UNSPECIFIED", "group_id": "<string>" } }
UpdatePageComponent
Updates an existing page_component.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object