PUT api/v1/msdb/Agents/{msdbId}/membership
Add/Update MSDB username
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| msdbId |
Define this parameter in the request URI. |
|
| msdbMembership |
Define this parameter in the request body. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"Email": "sample string 3"
}
application/xml, text/xml
Sample:
<MSDBMembershipDTO> <Username>sample string 1</Username> <Password>sample string 2</Password> <Email>sample string 3</Email> </MSDBMembershipDTO>
Response Information
Response body formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>