Permissions
Get user permissions for a token
Returns the effective permissions for the authenticated user on a specific token. User address is inferred from the JWT token.
get/v1/permissions
Request
- Base URLhttps://lpad-backend.stage.defi.ovh.gala.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tokenNamestring required
Example:MYTOKEN
Token name to check permissions for
Response
User permissions retrieved successfully
Example response
{
"matchedPreset": "MODERATOR",
"permissions": [
"MANAGE_COMMUNITY",
"VIEW_ANALYTICS"
],
"source": "moderator_invite"
}Changes
No recorded changes to this operation across all 1 revision of this API.