Classic APIs
ClassicSubscriptionsApi
setSubscriptionIcon

setSubscriptionIcon

Sets the icon of a subscription.

Parameters

NameTypeDescription
universeIdIdentifierThe id of the universe to create a subscription for.

Example

const { data: success } = await ClassicSubscriptionsApi.setSubscriptionIcon({
  universeId: 5795192361,
  subscriptionId: "3656348821302804581",
  actingUserId: 45348281,
  icon: "./src/image.png",
}); 

Endpoint

POST /v1/experiences/{universeId}/experience-subscriptions/{subscriptionId}/upload-image