Change the share link
update_share_linkChange a share link. Three different things: public - turn viewing off and on. The address is kept, so it can be reopened later. rotate - issue a new address. Every copy already sent stops working, and this cannot be undone, so tell the person what they are about to lose and pass confirm_rotate only once they agree. expires_in_days - close it automatically after so many days; 0 clears that. To simply stop sharing, set public to false. Rotating punishes everyone you already sent it to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | Whether the link opens. The address is unchanged either way. | |
| rotate | No | Issue a new address and kill the old one. Requires confirm_rotate. | |
| trip_id | Yes | (must not be empty) | |
| confirm_rotate | No | Set only after telling the person that every copy already sent will stop working. | |
| expires_in_days | No | Auto-close after this many days; 0 clears it. |