REST ClientCompatLAML Bins

update

View as MarkdownOpen in Claude

Update a LAML bin’s content or name. Uses POST (Twilio convention).

Response Example

Example

1from signalwire.rest import RestClient
2
3client = RestClient(
4 project="your-project-id",
5 token="your-api-token",
6 host="your-space.signalwire.com",
7)
8
9client.compat.laml_bins.update(
10 "LB...",
11 Name="Greeting",
12 Contents=(
13 '<?xml version="1.0" encoding="UTF-8"?>'
14 "<Response><Say>Goodbye!</Say></Response>"
15 )
16)