Account Memberships
An Account Membership represents a user having access to a Centrapay Account . An Account Membership has a role which grants the user access to some or all of the operations and resources within the account.
Account Membership Model
A Member contains extended information about a user's access to an account.
Attributes
Add Member
This endpoint allows you to add or update the membership of a user to an account.
Attributes
-
userId
-
role
List members
This endpoint allows you to retrieve the list memberships to an account.
Revoke Member
This endpoint allows you to revoke a users membership to an account.
Errors
-
LAST_OWNER_NOT_REVOKABLE
List Account Memberships for Authenticated Subject
This endpoint allows you to retrieve the accounts that the authenticated subject is a member of.
List Account Memberships for a User
This endpoint allows you to retrieve the accounts that a user is a member of.