@@ -197,18 +197,18 @@ def create(self, emails, **person_attributes):
197
197
single email address for a person. The list data type was
198
198
selected to enable future support for providing multiple email
199
199
address.
200
- **person_attributes:
201
- displayName(string_types): Full name of the person
202
- firstName(string_types): First name of the person
203
- lastName(string_types): Last name of the person
204
- avatar(string_types): URL to the person's avatar in PNG format
205
- orgId(string_types): ID of the organization to which this
206
- person belongs
207
- roles(list): Roles of the person (list of strings containing
208
- the role IDs to be assigned to the person)
209
- licenses(list): Licenses allocated to the person (list of
210
- strings containing the license IDs to be allocated to the
211
- person)
200
+ **person_attributes
201
+ displayName(string_types): Full name of the person
202
+ firstName(string_types): First name of the person
203
+ lastName(string_types): Last name of the person
204
+ avatar(string_types): URL to the person's avatar in PNG format
205
+ orgId(string_types): ID of the organization to which this
206
+ person belongs
207
+ roles(list): Roles of the person (list of strings containing
208
+ the role IDs to be assigned to the person)
209
+ licenses(list): Licenses allocated to the person (list of
210
+ strings containing the license IDs to be allocated to the
211
+ person)
212
212
213
213
Returns:
214
214
Person: With the details of the created person.
@@ -238,23 +238,23 @@ def update(self, personId, **person_attributes):
238
238
239
239
Args:
240
240
personId(string_types): The ID of the person to be updated.
241
- **person_attributes:
242
- emails(list): Email address(es) of the person. (list of
243
- strings) CURRENT LIMITATION: Spark (today) only allows you
244
- to provide a single email address for a person. The list
245
- data type was selected to enable future support for
246
- providing multiple email address.
247
- displayName(string_types): Full name of the person
248
- firstName(string_types): First name of the person
249
- lastName(string_types): Last name of the person
250
- avatar(string_types): URL to the person's avatar in PNG format
251
- orgId(string_types): ID of the organization to which this
252
- person belongs
253
- roles(list): Roles of the person (list of strings containing
254
- the role IDs to be assigned to the person)
255
- licenses(list): Licenses allocated to the person (list of
256
- strings containing the license IDs to be allocated to the
257
- person)
241
+ **person_attributes
242
+ emails(list): Email address(es) of the person. (list of
243
+ strings) CURRENT LIMITATION: Spark (today) only allows you
244
+ to provide a single email address for a person. The list
245
+ data type was selected to enable future support for
246
+ providing multiple email address.
247
+ displayName(string_types): Full name of the person
248
+ firstName(string_types): First name of the person
249
+ lastName(string_types): Last name of the person
250
+ avatar(string_types): URL to the person's avatar in PNG format
251
+ orgId(string_types): ID of the organization to which this
252
+ person belongs
253
+ roles(list): Roles of the person (list of strings containing
254
+ the role IDs to be assigned to the person)
255
+ licenses(list): Licenses allocated to the person (list of
256
+ strings containing the license IDs to be allocated to the
257
+ person)
258
258
259
259
Returns:
260
260
Person: With the updated person details.
0 commit comments