Users
Edit user details
Updates user details on the caller's active account. Requires EM_ACCOUNT.USER edit permission. The target user is identified by login and must belong to the active account. Required fields: login, firstName, lastName, and status.
post/users/action/edit
Request
- Base URLhttps://sandbox.preprod.connect.xpansiv.com/app/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"firstName": "John",
"middleName": "Jackson",
"lastName": "Doe",
"email": "john.doe@example.com",
"jobTitle": "Portfolio Manager",
"telephone": "555-123-4567",
"authSubject": "auth0|asdfghjkl1234567890",
"login": "johndoe",
"address": {
"postalCode": "12345",
"city": "New York",
"addressLineOne": "5 Broadway",
"addressLineTwo": "5th floor"
},
"account": {
"identifier": "0980A123",
"status": "APPROVED",
"organization": {
"legalName": "RVCMC Sub Default",
"structure": "PRIVATELY_OWNED_CORP",
"type": "BROKER"
},
"services": [
{
"status": "APPROVED",
"type": "ACX",
"attributes": {
"retirementSubaccountCodes": {
"ACR": [
"12345"
],
"CAR": [],
"VCS": [
"43134",
"32141"
]
},
"linkedRegistryAccountIds": {
"ACR": "098765",
"CAR": null,
"VCS": "567890"
}
}
}
]
}
}Response
Updated user
Example response
{
"firstName": "John",
"middleName": "Jackson",
"lastName": "Doe",
"email": "john.doe@example.com",
"jobTitle": "Portfolio Manager",
"telephone": "555-123-4567",
"authSubject": "auth0|asdfghjkl1234567890",
"login": "johndoe",
"address": {
"postalCode": "12345",
"city": "New York",
"addressLineOne": "5 Broadway",
"addressLineTwo": "5th floor"
},
"account": {
"identifier": "0980A123",
"status": "APPROVED",
"organization": {
"legalName": "RVCMC Sub Default",
"structure": "PRIVATELY_OWNED_CORP",
"type": "BROKER"
},
"services": [
{
"status": "APPROVED",
"type": "ACX",
"attributes": {
"retirementSubaccountCodes": {
"ACR": [
"12345"
],
"CAR": [],
"VCS": [
"43134",
"32141"
]
},
"linkedRegistryAccountIds": {
"ACR": "098765",
"CAR": null,
"VCS": "567890"
}
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.