Skip to main content
GET
/
organizations
/
{org_id}
/
members
/
{user_id}
/
permissions
Get member permissions
curl --request GET \
  --url https://prod-api.pcxpay.com/v1/organizations/{org_id}/members/{user_id}/permissions \
  --header 'Authorization: <authorization>' \
  --header 'X-Api-Key: <x-api-key>'
{
  "user_id": "<string>",
  "org_id": "<string>",
  "permissions": [
    {
      "resource": "<string>",
      "resource_name": "<string>",
      "actions": [
        "READ"
      ],
      "constraints": {},
      "granted_by": "<string>",
      "granted_by_name": "<string>",
      "granted_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Path Parameters

org_id
string
required
user_id
string
required

Response

200 - application/json

Member permissions

user_id
string
org_id
string
permissions
object[]