Skip to main content

Update SWML Script

PUT 

/resources/swml_scripts/:id

Updates a SWML Script by ID.

Request

Path Parameters

    id uuidrequired

    The ID of the SWML Script

Body

required

    name string
    contents string

    A SWML document. For more information on SWML, please go to https://developer.signalwire.com/swml

Responses

A SWML Script

Schema

    id uuid
    project_id uuid
    display_name string
    type string
    created_at date-time
    updated_at date-time

    swml_script

    object

    id uuid

    A unique identifier for the SWML Script

    contents string

    A SWML document. For more information on SWML, please go to https://developer.signalwire.com/swml

    request_url uri
    display_name string
Loading...