HTTP Request Definition

Update HTTP request definition

Changed on

Updates an existing HTTP request definition.

put/v1/http-request-definition/{definitionId}

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/http-request-definition/{definitionId}
  • Auth
    HTTP bearer

Path parameters

definitionIdstring required

The ID of the HTTP request definition to update

Request body

urlstring uri

URL for the HTTP request

descriptionstring nullable

Description of the HTTP request definition

method'POST' | 'PUT' | 'PATCH' | 'GET'

HTTP method: POST, PUT, PATCH, or GET

headersobject

Request headers as key-value pairs

Response

The updated HTTP request definition

Changes

    • info

      added the required property / to the response with the status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status