ListUserPermissions
Retrieve a user's permission set to view granted permissions by their roles. Input the user ID to get a JSON list of permissions, ensuring role-based access clarity.
Instructions
Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles.
Path Parameters:
- user_id (Required): The ID of the user.
Responses:
- 200 (Success): OK
- Content-Type:
application/json
- Response Properties:
- data: Array of permissions.
- Example:
- Content-Type:
- 403: Authentication error
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 404: Not found
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 429: Too many requests
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
user_id | Yes | The ID of the user. |