PUT
/
integrations
/
{integration_id}
curl --request PUT \
  --url https://api.rootfi.dev/integrations/{integration_id} \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "is_disabled": false,
  "is_rootfi_identity": true,
  "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
  "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm"
}'
{
  "data": {
    "integration_type": "ZOHO_BOOKS",
    "rootfi_id": 1234,
    "rootfi_created_at": "2021-08-10T15:00:00.000Z",
    "rootfi_updated_at": "2021-08-10T15:00:00.000Z",
    "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "is_disabled": false,
    "metadata": {},
    "is_rootfi_identity": true
  },
  "request_timestamp": "2021-08-10T15:00:00.000Z",
  "response_timestamp": "2021-08-10T15:00:00.000Z",
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
curl --request PUT \
  --url https://api.rootfi.dev/integrations/{integration_id} \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "is_disabled": false,
  "is_rootfi_identity": true,
  "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
  "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm"
}'

Authorizations

api_key
string
header
required

Path Parameters

integration_id
number
required

The ID of the integration to update.

Body

application/json

Request object for updating a integration.

client_id
string
required

Developer OAUTH Client ID from Integration Platform.

client_secret
string
required

Developer OAUTH Client Secret from Integration Platform.

is_disabled
boolean
required

Pass true to disable the integration.

Example:

false

is_rootfi_identity
boolean | null

Pass true to use RootFi's oauth credentials. (Default is false).

Response

200 - application/json
request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server

request_id
string
required

The unique ID of the request

data
object
required

The response of the get one integration endpoint