Update Provider
curl --request PUT \
--url https://api.example.com/v1/providers/{provider_id}import requests
url = "https://api.example.com/v1/providers/{provider_id}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api.example.com/v1/providers/{provider_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/providers/{provider_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/providers/{provider_id}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/v1/providers/{provider_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/providers/{provider_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_bodyProviders
Update Provider
PUT /v1/providers/:provider_id — update editable provider-registry metadata
PUT
/
v1
/
providers
/
{provider_id}
Update Provider
curl --request PUT \
--url https://api.example.com/v1/providers/{provider_id}import requests
url = "https://api.example.com/v1/providers/{provider_id}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api.example.com/v1/providers/{provider_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/providers/{provider_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/providers/{provider_id}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/v1/providers/{provider_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/providers/{provider_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_bodyUpdates selected metadata on a provider-registry row.
This route requires the static operator key. Tenant API keys and platform sessions are rejected.
Host/path identity fields such as
The route marks updated rows as
Editable fields
| Field | Type | Description |
|---|---|---|
payee_address | string | Must be a valid EVM address when provided |
network | string | Network identifier |
asset_symbol | string | Asset symbol such as USDC |
provider_name | string | Display name |
provider_category | string | Provider category |
risk_level | number | Must be between 0 and 100 |
status | string | Registry status |
is_featured | boolean | Must be a real boolean, not a string |
is_curated | boolean | Must be a real boolean, not a string |
host_pattern and path_prefix are not updated by this route.
Example
curl -X PUT http://127.0.0.1:3030/v1/providers/$PROVIDER_ID \
-H "Authorization: Bearer $AXON_DECISION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"payee_address": "0x1111111111111111111111111111111111111111",
"asset_symbol": "USDC",
"network": "eip155:8453",
"provider_name": "Example API",
"risk_level": 30,
"is_featured": true
}'
Response
{
"id": "uuid",
"host_pattern": "api.example.com",
"path_prefix": "/v1",
"payee_address": "0x1111111111111111111111111111111111111111",
"network": "eip155:8453",
"asset_symbol": "USDC",
"provider_name": "Example API",
"provider_category": "data",
"risk_level": 30,
"status": "active",
"source": "manual"
}
source="manual" and refreshes last_verified_at, but those fields are not fully echoed in the response payload.
Error codes
| Code | Meaning |
|---|---|
VALIDATION_ERROR | Invalid address, invalid risk value, non-boolean flags, or empty body |
NOT_FOUND | Provider does not exist |
REJECTED_POLICY | Caller is not using the static operator key |