Shared
Permission
Get Permission By User

Get Permissions For Current User

Returns the permissions for the authenticated user.

Overview

  • Method: GET
  • Path: /shared/permission/get-permission-by-user
  • Tags: shared

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "data": "string",
  "name": "string",
  "description": "string",
  "created_at": "string",
  "updated_at": "string"
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  https://api.pillexa.com/shared/permission/get-permission-by-user \
  -H "Content-Type: application/json" \