Update an ATA

Method

PATCH

Path

atas/ID

Request Parameters

Name Type Description
name string The name for the ATA.
description string A more detailed description for the ATA
mac_address string The MAC address for the ATA (12 hexadecimal digits)

Response

A JSON object with success, message, and data attributes. The data attribute contains an ATA Object.

Sample Call

curl -X PATCH https://api.phaxio.com/v2.1/atas/1234 \
  -u 'API_KEY:API_SECRET' \
  -F 'name=Test Name' \
  -F 'description=Test Description' \
  -F 'mac_address=AABBCCDDEEFF'

Sample Response

{
  "success": true,
  "message": "ATA updated successfully",
  "data": {
    "id": 1234,
    "name": "Test Name",
    "description": "Test Description",
    "user_phone_number": "+18475551234",
    "domain": "test.domain",
    "mac_address": "AABBCCDDEEFF"
  }
}