PUT
/
functions
/
{id}
curl --request PUT \
  --url https://api.vogent.ai/api/functions/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "type": "transfer",
  "lifecycleMessages": {
    "started": [
      "<string>"
    ]
  },
  "allowedNumbers": [
    {
      "number": "<string>"
    }
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "type": "transfer",
  "lifecycleMessages": {
    "started": [
      "<string>"
    ]
  },
  "allowedNumbers": [
    {
      "number": "<string>"
    }
  ]
}

Path Parameters

id
string
required

ID of the function.

Body

application/json

Update function properties

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.