curl --request PUT \
--url https://api.royalti.io/ddex/tenant-providers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"host": "new-ftp.provider.com",
"username": "newuser",
"password": "newpassword"
}
}
'{
"status": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"TenantId": 123,
"providerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"LabelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"deliveryMethod": "SFTP",
"priority": 123,
"customSettings": {},
"rateLimits": {},
"acknowledgementSettings": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Update an existing DDEX provider configuration.
curl --request PUT \
--url https://api.royalti.io/ddex/tenant-providers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"host": "new-ftp.provider.com",
"username": "newuser",
"password": "newpassword"
}
}
'{
"status": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"TenantId": 123,
"providerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"LabelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"deliveryMethod": "SFTP",
"priority": 123,
"customSettings": {},
"rateLimits": {},
"acknowledgementSettings": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}const response = await fetch('https://api.royalti.io/ddex/tenant-providers/example-id', {
method: 'PUT',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
"deliveryMethod": "sample-deliveryMethod",
"customSettings": {},
"priority": 1,
"rateLimits": {},
"acknowledgementSettings": {},
"isEnabled": true
})
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Tenant provider configuration ID
Delivery protocol to use
SFTP, FTP, HTTP, HTTPS, AS2, WebDAV Credentials for SFTP/FTP delivery method
Show child attributes
Provider-specific custom settings
Priority for this provider (higher = preferred)
Rate limiting configuration
MDN/acknowledgement settings
Enable or disable this provider configuration