Agents

PUT /v2/agents/{agent_id}/scripts

Update the JavaScript pre and post-processing scripts of an agent.

Request

  • Base URL
    https://api.agenty.com
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

unknown required

Example request

{
  "pre": {
    "is_enabled": false
  },
  "post": {
    "is_enabled": true,
    "code": "return data;"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.