JavaScript
HTTP Request Definition
Update HTTP request definition
Updates an existing HTTP request definition.
PUT
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the HTTP request definition to update
Body
application/json
Input for updating an HTTP request definition
URL for the HTTP request
Description of the HTTP request definition
HTTP method: POST, PUT, PATCH, or GET
Available options:
POST, PUT, PATCH, GET Request body template. Accepts a JSON object or a string with placeholders like {{phoneNumberToDial}}. Objects are serialized to JSON for storage.
Request headers as key-value pairs
Response
The updated HTTP request definition
HTTP request definition

