Share via


/users/[:id].json - Put

Definition

https://www.yammer.com/api/v1/users/:user_id.json

Parameters

Name In Required Type Description
user_id path integer User id specified by the numeric string id
job_title body mixed Updated job title

Documentation

Update information about a user. The target user should be the current user or a verified admin in a paid Yammer network.

Parameters:

The users API endpoints return a similar structure and support the following query parameters:

page - Programmatically paginate through the users in the network. 50 users will be shown per page.

letter - Return users with usernames beginning with the given character.

sort_by=[ messages | followers ] - Results will be returned sorted by number of messages or followers, instead of the default behavior of sorting alphabetically.

reverse=TRUE - Returns results in reverse order.

delete=TRUE - The DELETE method on a user resource will suspend that user’s account, allowing the user to reactivate through the website if they have access to a company email address. Passing delete=true along with the request will cause the account to be deleted, which cannot be undone by the user.

Parameters for creating or updating users:

email (required for creating a new user)

full_name

job_title

department_name

location

im_provider

im_username

work_telephone

work_extension

mobile_telephone

external_profiles

significant_other

kids_names

interests

summary

expertise

birth_date[day]

birth_date[month]

education[] (school,degree,description,start_year,end_year) - accepts multiple attributes i.e. education[]=UCLA,BS,Economics,1998,2002&education[]=USC,MBA,Finance,2002,2004

previous_companies[] (company,position,description,start_year,end_year) - accepts multiple attributes i.e. previous_companies[]=Geni.com,Engineer,2005,2008