Skip to main content
PUT
/
integrations
/
workspace
Update Workspace Integration
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/workspace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "integration-123",
  "settings": {
    "apiKey": "new-api-key-here",
    "region": "EU"
  }
}'
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "vertofx",
    "enabled": true,
    "settings": {
      "apiKey": "your-api-key-here",
      "region": "US"
    },
    "metadata": {
      "customField": "custom-value"
    },
    "memo": "Integration for VertoFX payments",
    "TenantId": "123e4567-e89b-12d3-a456-426614174000",
    "IntegrationId": "123e4567-e89b-12d3-a456-426614174000",
    "createdAt": "2023-01-01T00:00:00Z",
    "updatedAt": "2023-01-01T00:00:00Z"
  }
}
Updates an existing workspace integration. Endpoint: /integrations/workspace
Method: PUT
Request Body:
FieldTypeRequiredDescription
idstringYesIntegration ID
settingsobjectYesUpdated settings

Authentication

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

Request Body

Request Schema

FieldTypeRequiredDescription
idstringāœ…Integration ID
settingsobjectāœ…Updated settings

Responses

āœ… 200 - Workspace integration updated

āš ļø 400 - undefined

āš ļø 401 - undefined

āš ļø 404 - undefined

āŒ 500 - undefined

Tags

Integration

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string
required

Integration ID

Example:

"integration-123"

settings
object
required

Updated settings

Example:
{
"apiKey": "new-api-key-here",
"region": "EU"
}

Response

Workspace integration updated

success
boolean
Example:

true

data
object
⌘I