Update a call-to-action item.
<tr>
<td>
<tt>start_time (required)</tt>
</td>
<td>
The relative start time of the CTA. This can be `before`, `after` or any decimal number between 0 and 1, both included.
</td>
<tr>
<td>
<tt>end_time (required)</tt>
</td>
<td>
The relative end time of the CTA. This can be `before`, `after` or any decimal number between 0 and 1, both included.
</td>
Parameter | Description |
---|---|
action_id (required) | The ID of the call to action to be updated. |
name (required) | The name of the call-to-action. |
Further to this list, every type of of action has a list of required parameters.
The minimum required permission level is:
write
<response status="ok" permission_level="write"
message="The action was updated" cached="0"/>
{
"status": "ok",
"message":"The action was updated",
"permission_level":"write",
"cached":"0",
"action":{},
"p": "1",
"size": "1",
"site": { ... },
"endpoint": "/api/action/update"
}