OrganizationRole
Last updated
Last updated
api :
The OrganizationAPI
that this object was created with.
id : string
The id of this role.
name : string
The name of this role.
member :
The membership that this role is associated with.
constructor(api, member, role)
Create a new role object using the .
async remove()
Remove this role from the membership.
The result is a boolean that indicates success.
api
must be an instance of ;
member
must be an instance of ;
role
must implement the interface;
This constructor should not be called directly, use instead.