Shared
Permission
Get Permission By User

Get Permission By User

GET endpoint for /shared/permission/get-permission-by-user in shared category

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

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "data",
    "name",
    "created_at",
    "updated_at"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/shared/permission/get-permission-by-user \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).