Skip to main content

Create an Ip

POST 

/ips

Create a new IP object.

Request

Body

    connection_id string

    ID of the IP Connection to which this IP should be attached.

    ip_address stringrequired

    IP adddress represented by this resource.

    port integer

    Default value: 5060

    Port to use when connecting to this IP.

Responses

201: Successful response with details about an IP.

Schema

    data

    object

    id int64

    Identifies the type of resource.

    record_type string

    Identifies the type of the resource.

    connection_id string

    ID of the IP Connection to which this IP should be attached.

    ip_address string

    IP adddress represented by this resource.

    port integer

    Default value: 5060

    Port to use when connecting to this IP.

    created_at string

    ISO 8601 formatted date indicating when the resource was created.

    updated_at string

    ISO 8601 formatted date indicating when the resource was updated.

401: Unauthorized

Schema

    errors

    object[]

  • Array [

  • code string
    detail string

    meta

    object

    url uri
    title string

    source

    object

    pointer string
  • ]

403: The user doesn't have the required permissions to perform the requested action.

Schema

    errors

    object[]

  • Array [

  • code string
    detail string

    meta

    object

    url uri
    title string

    source

    object

    pointer string
  • ]

422: The request was well-formed but was unable to be followed due to semantic errors.

Schema

    errors

    object[]

  • Array [

  • code string
    detail string

    meta

    object

    url uri
    title string

    source

    object

    pointer string
  • ]

Loading...