destroyFollow abstract method

Future<MastodonResponse<Relationship>> destroyFollow({
  1. required String accountId,
})

Unfollow the given account.

Parameters

  • accountId: The ID of the Account in the database.

Endpoint Url

  • POST /api/v1/accounts/:id/unfollow HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:follows

Reference

Implementation

Future<MastodonResponse<Relationship>> destroyFollow({
  required String accountId,
});