Skip to main content
PUT
/
sources
/
{id}
Update Tenant Source
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "settings": {
    "delimiter": ","
  },
  "replacements": {
    "old": "new"
  }
}'
{
  "message": "Tenant source updated successfully"
}
Updates a tenant source association by its ID.

Required Permissions

  • sources:update

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…Tenant source ID

Request Body

Request Schema

FieldTypeRequiredDescription
settingsobjectāŒ
replacementsobjectāŒ

Responses

āœ… 200 - Tenant source updated successfully

āš ļø 400 - undefined

āš ļø 401 - undefined

āš ļø 404 - undefined

āŒ 500 - undefined

Tags

Sources

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Tenant source ID

Example:

"ts-1"

Body

application/json
settings
object
Example:
{ "delimiter": "," }
replacements
object
Example:
{ "old": "new" }

Response

Tenant source updated successfully

message
string
Example:

"Tenant source updated successfully"

⌘I