General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
Integrations
Update a integration
Update a integration based on the ID.
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
Path Parameters
The ID of the integration to update.
Body
application/json
Request object for updating a integration.
Response
200 - application/json
The response is of type object
.
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"
}
Assistant
Responses are generated using AI and may contain mistakes.