disconnect_grower_connection
Disconnect a grower organization.
Input fields
external_partner (
ConnectableExternalPartner!)
The external partner you wish to disconnect from the organization. Only Climate, John Deere, and myFSAdvisor are supported.
organization_sentera_id (
ID!)
The ID of the organization you wish to disconnect.
Return fields
connected_by (
User)
The user that created this connection.
expires_at (
ISO8601DateTime)
The date that this connection expires.
partner (
ExternalPartner!)
The external partner connected to the organization.
scope (
String)
The OAuth2 scopes that were used when generating the associated token.
status (
ExternalCredentialStatus!)
The status of a connection to an external partner.
Examples
Disconnect external partner from an organization
Disconnects an external partner that is used to import field data from an external integrator.
Try this example in GraphiQL mutation DisconnectExternalPartner{
disconnect_grower_connection(
organization_sentera_id: "fohqztc_AS_qw4gBigBird_CV_stag_456fd86_190318_191201"
external_partner: CLIMATE_FIELD_VIEW
) {
partner
status
}
}
{
"data": {
"disconnect_grower_connection": {
"partner": "CLIMATE_FIELD_VIEW",
"status": "NOT_CONNECTED"
}
}
}