Configure permissions
Configure via Logto Consoleβ
Permissions are set at the API resource level. Navigate to the Console > API resources , click the API resource you want to manage, and then go to the "Permissions" tab.
It's important to provide a name and details for the permission, as it will make it easier to identify and manage permissions.
Configure via Logto Management APIβ
Manage using the Logto Management API. Make a call to the relative end point. Check out this reference.
method | path | description |
---|---|---|
GET | /api/resources/{resourceId}/scopes | Get scopes defined for an API resource. |
POST | /api/resources/{resourceId}/scopes | Create a new scope for an API resource. |
DELETE | /api/resources/{resourceId}/scopes/{scopeId} | Delete an API resource scope from the given resource. |
PATCH | /api/resources/{resourceId}/scopes/{scopeId} | Update an API resource scope for the given resource. This method performs a partial update. |