Access Keys:
Skip to content (Access Key - 0)
Live Chat

Update a Specific Department

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
For information regarding the entities used in the Departments CRUD, please visit Entities Used in Departments CRUD page.

You can update a specific department by using the following command(s):

Commands:

PUT /em/api/departments/{id}
PUT /em/api/departments/{id}.xml
PUT /em/api/departments/{id}.js

Request in XML:

<department>
    <displayName>sale</displayName>
    <members>
      <string>lex</string>
    </members>
  </department>

Request in JSON:

{displayName : "sale", members : ["lex"]}

Response:

HTTP/1.0 200 OK
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki