Supported Formats

json

Examples

curl -H "Content-Type: application/json" -X PUT -d '{"is_default":"true", "name": "New Name"}' https://[your-subdomain].trackdrive.net/api/v1/provider_configurations/:id?auth_token=[your-auth-token]

Response Example

{
  "status" : 200,
  "errors" : {},
  "provider_configuration" : {
    "id" : 3685,
    "created_at" : "2018-08-15T17:32:43.883+00:00",
    "updated_at" : "2018-10-30T16:56:27.037+00:00",
    "user_updated_at" : "2018-08-15T17:32:43.883+00:00",
    "name" : "Video Demo Plivo.com Account",
    "provider_auto_recharge" : true,
    "provider_user_name" : "993e64d8104e366dbbb502087302c48b",
    "provider_app" : null,
    "is_default" : false,
    "provider_type" : "plivo",
    "type" : "ProviderConfiguration"
  },
  "metadata" : {
    "root" : "provider_configuration"
  }
}

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

name
optional

Provide a name that will appear throughout Trackdrive.

  • Must be String

is_default
optional

Is this provider the default for new number purchases.

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off