Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

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

Members

Organisation members share access to all resources in the organisation (wallets, vaults, API keys, webhooks). Roles control what each member can do.

Roles

RolePermissions
ownerFull access — billing, members, API keys, all resources
adminAll resources — cannot manage billing or remove the owner
memberRead and write access to resources — cannot manage members or API keys
viewerRead-only access to all resources

Invite a member

Go to Settings → Team and enter the email address to invite.

List members

curl https://api.prudra.dev/organisations/current/members \
  -H "Authorization: Bearer prv_test_sk_..."

Update a member’s role

curl -X PATCH https://api.prudra.dev/organisations/current/members/mem_clx1abc123 \
  -H "Authorization: Bearer prv_test_sk_..." \
  -H "Content-Type: application/json" \
  -d '{ "role": "viewer" }'

Remove a member

curl -X DELETE https://api.prudra.dev/organisations/current/members/mem_clx1abc123 \
  -H "Authorization: Bearer prv_test_sk_..."
Removing a member immediately revokes their access. Any API keys they created are not automatically revoked — revoke them separately if needed.