createFeaturedProfile abstract method

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

Add the given account to the user’s featured profiles. (Featured profiles are currently shown on the user’s own public profile.)

Parameters

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

Endpoint Url

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

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:accounts

Reference

Implementation

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