Skip to main content
Updates an existing HTTP request definition.
Calls PUT /v1/http-request-definition/{definitionId}

Arguments

string
required
The ID of the HTTP request definition to update.

Options

string
URL for the HTTP request.
string
Description of the HTTP request definition.
string
HTTP method: POST, PUT, PATCH, or GET. One of POST, PUT, PATCH, GET
string
Request body template. Accepts a JSON object or a string with placeholders like {{phoneNumberToDial}}. Objects are serialized to JSON for storage.
object
Request headers as key-value pairs.

Example

Every command also takes the global options and sets one of the exit codes.