Plugin Subscription Access

Check user plugin access

POST
http://localhost:3000/api/plugins/{pluginId}/subscription/access/check

Validates if a specific user has access to the plugin

Body

application/json
pluginIdstringrequired

Plugin ID to check access for

userIdstring

User ID to check access for

Parameters

pluginIdstring<uuid>requiredpath

Plugin ID

Response

Access check result

Response fields application/json
hasAccessbooleanrequired

Whether the user has access to the plugin

accessLevelstring

Access level/scope

canAssignbooleanrequired

Whether the user can assign this plugin to others

requiresSubscriptionbooleanrequired

Whether the plugin requires a subscription

canActivatebooleanrequired

Whether the user can activate the plugin

subscriptionobject

Subscription details if available

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey