GET
/
auth
/
organization-members
/
{id}
curl --request GET \
  --url https://api.pxyz.dev/api/v0/auth/organization-members/{id}
{
  "id": "<string>",
  "organizationId": "<string>",
  "userId": "<string>",
  "roleId": "<string>",
  "role": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      "<string>"
    ],
    "tenantId": "<string>",
    "_count": {
      "users": 123,
      "members": 123
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "user": {
    "id": "<string>",
    "name": "<string>",
    "identifier": "<string>",
    "imageUri": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "publicMeta": "<any>",
  "privateMeta": "<any>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
organizationId
string
required
userId
string
required
roleId
string | null
role
object | null
user
object
publicMeta
any
privateMeta
any
createdAt
string
required
updatedAt
string
required