Regenerate ATA Credentials

Method

PATCH

Path

atas/ID/regenerate_credentials

Request Parameters

None

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/regenerate_credentials \
  -u 'API_KEY:API_SECRET'

Sample Response

{
  "success": true,
  "message": "ATA credentials regenerated",
  "data": {
    "id": 1234,
    "name": "Example ATA",
    "description": "This is an example ATA",
    "user_phone_number": "+18475551234",
    "domain": "ata1.example.com",
    "username": "iq5eoyp7fk",
    "password": "eaesbkecirqftiq82k3iptotxmjuz5g9"
  }
}