Skip to main content
PATCH
/
api
/
gateways
/
{id}
PATCH /api/gateways/{id}
curl --request PATCH \
  --url https://api.sippet.ai/api/gateways/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "id": "<string>",
    "attributes": {
      "from_domain": "<string>",
      "from_user": "<string>",
      "inbound_acl": [
        "<string>"
      ],
      "password": "<string>",
      "provider": "vonage",
      "proxy": "<string>",
      "realm": "<string>",
      "register": true,
      "username": "<string>"
    },
    "relationships": {},
    "type": "Gateway"
  }
}
'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "inbound_acl": [
        "<string>"
      ],
      "name": "<string>",
      "realm": "<string>",
      "username": "<string>",
      "from_domain": "<string>",
      "from_user": "<string>",
      "password": "<string>",
      "provider": "vonage",
      "proxy": "<string>",
      "register": true
    },
    "relationships": {
      "organisation": {
        "data": {
          "id": "<string>",
          "type": "<string>",
          "meta": {}
        }
      }
    }
  },
  "included": [
    "<unknown>"
  ],
  "meta": {}
}

Documentation Index

Fetch the complete documentation index at: https://sippet.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT for bearer authentication

Path Parameters

id
string
required

Query Parameters

include
string

Relationship paths to include in the response

Pattern: ^()(,())*$
fields
object

Limits the response fields to only those listed for each type

Example:
{
"Gateway": "id,name,provider,username,realm,proxy,register,from_domain,from_user,inbound_acl"
}

Body

application/vnd.api+json

Request body for the /gateways/:id operation on Gateway resource

data
object
required

Response

Success

data
object

A "Resource object" representing a Gateway

included
any[]
meta
object