@@ -130,7 +130,7 @@ def update(self, id, body):
130130 return self .client .patch (self ._url (id ), data = body )
131131
132132 def list_roles (self , id , page = 0 , per_page = 25 , include_totals = True ):
133- """Get a user's roles .
133+ """List the roles associated with a user.
134134
135135 Args:
136136 id (str): The user's id.
@@ -154,7 +154,7 @@ def list_roles(self, id, page=0, per_page=25, include_totals=True):
154154 return self .client .get (url , params = params )
155155
156156 def remove_roles (self , id , roles ):
157- """Removes roles from a user.
157+ """Removes an array of roles from a user.
158158
159159 Args:
160160 id (str): The user's id.
@@ -168,7 +168,7 @@ def remove_roles(self, id, roles):
168168 return self .client .delete (url , data = body )
169169
170170 def add_roles (self , id , roles ):
171- """Assign roles to a user
171+ """Associate an array of roles with a user.
172172
173173 Args:
174174 id (str): The user's id.
@@ -182,7 +182,7 @@ def add_roles(self, id, roles):
182182 return self .client .post (url , data = body )
183183
184184 def list_permissions (self , id , page = 0 , per_page = 25 , include_totals = True ):
185- """Get a user's permissions.
185+ """List the permissions associated to the user .
186186
187187 Args:
188188 id (str): The user's id.
@@ -211,7 +211,7 @@ def remove_permissions(self, id, permissions):
211211 Args:
212212 id (str): The user's id.
213213
214- permissions (list of str): A list of permissions ids to unassociate from the user.
214+ permissions (list of str): A list of permission ids to unassociate from the user.
215215
216216 See https://auth0.com/docs/api/management/v2#!/Users/delete_permissions
217217 """
@@ -220,12 +220,12 @@ def remove_permissions(self, id, permissions):
220220 return self .client .delete (url , data = body )
221221
222222 def add_permissions (self , id , permissions ):
223- """Assign permissions to a user
223+ """Assign permissions to a user.
224224
225225 Args:
226226 id (str): The user's id.
227227
228- permissions (list of str): A list of permissions ids to associated with the user.
228+ permissions (list of str): A list of permission ids to associated with the user.
229229
230230 See https://auth0.com/docs/api/management/v2#!/Users/post_permissions
231231 """
0 commit comments