PUT api/Administration/Users/DefaultAction Administration All Services
This service updates an active or inactive user based on the values set in the DTO. Note: It exact matches on the login name set in the DTO. It does not include deleted users. Also note that password will not be updated; use UpdatePassword instead.
Request Information
Headers
| Fields | Type | M/O/C | Definition |
| AccountLoginName | String(50) | Mandatory | Login name of an account used for logging into Galaxy application to perform the service call |
| AccountPassword | String(50) | Mandatory | Password of an account used for logging into Galaxy application to perform the service call |
| SourceSystemID | String(50) | Mandatory | Name or ID of application or system that initiated the call. |
| DomainID | String(50) | Mandatory | Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain) |
| Accept | String | Optional | Format in which client expects the response: [application/json] (default), [application/xml] |
| ContentType | String | Optional | Format in which client is sending the request: [application/json] (default), [application/xml] |
Parameters
| Name | Description | Additional information | Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| model | Must pass Login Name, other fields are only passed if you want to update those values |
Define this parameter in the request body. |
UserDTO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Request body formats
application/json, text/json
Sample:
{
"LoginName": "sample string 1",
"Password": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"LastName": "sample string 5",
"Email": "sample string 6",
"ExpiryDate": "sample string 7",
"EmployeeID": "sample string 8",
"Citizenship": "sample string 9",
"DateOfBirth": "2025-10-26T13:53:34.8816297+00:00",
"EmploymentDate": "2025-10-26T13:53:34.8816297+00:00",
"Company": "sample string 10",
"Department": "sample string 11",
"Title": "sample string 12",
"Notes": "sample string 13",
"PhoneNumber": "sample string 14",
"WorkPhoneNumber": "sample string 15",
"FaxNumber": "sample string 16",
"Address": "sample string 17",
"Address2": "sample string 18",
"City": "sample string 19",
"ProvinceOrState": "sample string 20",
"PostalCode": "sample string 21",
"Country": "sample string 22",
"PlaceOfBirth": "sample string 23",
"Gender": 64,
"DomainID": 24,
"NewLoginName": "sample string 25",
"IsFMS": true,
"IsSSO": true,
"CostCenter": "sample string 27",
"UserID": 28,
"SetAzureB2cId": true,
"AzureB2cId": "5a93dbe5-3b69-4374-bff5-e84856e9e214"
}
application/xml, text/xml
Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMS.API.Service.Models.Administration"> <Address>sample string 17</Address> <Address2>sample string 18</Address2> <AzureB2cId>5a93dbe5-3b69-4374-bff5-e84856e9e214</AzureB2cId> <Citizenship>sample string 9</Citizenship> <City>sample string 19</City> <Company>sample string 10</Company> <CostCenter>sample string 27</CostCenter> <Country>sample string 22</Country> <DateOfBirth>2025-10-26T13:53:34.8816297+00:00</DateOfBirth> <Department>sample string 11</Department> <DomainID>24</DomainID> <Email>sample string 6</Email> <EmployeeID>sample string 8</EmployeeID> <EmploymentDate>2025-10-26T13:53:34.8816297+00:00</EmploymentDate> <ExpiryDate>sample string 7</ExpiryDate> <FaxNumber>sample string 16</FaxNumber> <FirstName>sample string 3</FirstName> <Gender>64</Gender> <IsFMS>true</IsFMS> <IsSSO>true</IsSSO> <LastName>sample string 5</LastName> <LoginName>sample string 1</LoginName> <MiddleName>sample string 4</MiddleName> <NewLoginName>sample string 25</NewLoginName> <Notes>sample string 13</Notes> <Password>sample string 2</Password> <PhoneNumber>sample string 14</PhoneNumber> <PlaceOfBirth>sample string 23</PlaceOfBirth> <PostalCode>sample string 21</PostalCode> <ProvinceOrState>sample string 20</ProvinceOrState> <SetAzureB2cId>true</SetAzureB2cId> <Title>sample string 12</Title> <WorkPhoneNumber>sample string 15</WorkPhoneNumber> </UserDTO>
Return Type
| Return type | null |