API reference
unlinkFortnoxAccountingImportAccount
Required permission: OrganizationAccountingWrite
unlinkFortnoxAccountingImportAccount(
organizationId: ID!
): OrganizationArguments
| Name | Type | Description |
|---|---|---|
organizationId |
ID! |
Returns
Example
mutation UnlinkFortnoxAccountingImportAccount($organizationId: ID!) {
unlinkFortnoxAccountingImportAccount(organizationId: $organizationId) {
id
fortnoxAccountingImportEnabled
hasFortnoxAccountingImportAccess
hasFortnoxAccountingImportCredentials
accountantEmail
createdAt
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { unlinkFortnoxAccountingImportAccount(...) { __typename } }"}'