curl --request PUT \
--url https://cloud.memsource.com/web/api2/v2/users/{userUid} \
--header 'Content-Type: application/json' \
--data '{
"userName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"role": "ADMIN",
"timezone": "<string>",
"note": "<string>",
"mayEditApprovedTerms": true,
"mayRejectJobs": true,
"editorMachineTranslateEnabled": true,
"receiveNewsletter": true,
"mayEditTranslationMemory": true,
"sourceLangs": [
"<string>"
],
"targetLangs": [
"<string>"
],
"active": true,
"workflowSteps": [
{
"id": "<string>"
}
],
"clients": [
{
"id": "<string>"
}
],
"domains": [
{
"id": "<string>"
}
],
"subDomains": [
{
"id": "<string>"
}
],
"projectBusinessUnits": [
{
"id": "<string>"
}
],
"automationWidgets": [
{
"id": "<string>"
}
]
}'
{
"id": "<string>",
"userName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateDeleted": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"role": "SYS_ADMIN",
"timezone": "<string>",
"note": "<string>",
"mayEditApprovedTerms": true,
"mayRejectJobs": true,
"editorMachineTranslateEnabled": true,
"receiveNewsletter": true,
"mayEditTranslationMemory": true,
"maySeeProviderNames": true,
"sourceLangs": [
"<string>"
],
"targetLangs": [
"<string>"
],
"workflowSteps": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
}
],
"clients": [
{
"id": "<string>",
"uid": "<string>",
"name": "<string>"
}
],
"domains": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"subDomains": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"projectBusinessUnits": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"organization": {},
"priceList": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"netRateScheme": {
"id": "<string>",
"uid": "<string>",
"name": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
}
},
"automationWidgets": [
{
"id": "<string>",
"uid": "<string>",
"name": "<string>"
}
],
"active": true
}
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v2/users/{userUid} \
--header 'Content-Type: application/json' \
--data '{
"userName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"role": "ADMIN",
"timezone": "<string>",
"note": "<string>",
"mayEditApprovedTerms": true,
"mayRejectJobs": true,
"editorMachineTranslateEnabled": true,
"receiveNewsletter": true,
"mayEditTranslationMemory": true,
"sourceLangs": [
"<string>"
],
"targetLangs": [
"<string>"
],
"active": true,
"workflowSteps": [
{
"id": "<string>"
}
],
"clients": [
{
"id": "<string>"
}
],
"domains": [
{
"id": "<string>"
}
],
"subDomains": [
{
"id": "<string>"
}
],
"projectBusinessUnits": [
{
"id": "<string>"
}
],
"automationWidgets": [
{
"id": "<string>"
}
]
}'
{
"id": "<string>",
"userName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateDeleted": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"role": "SYS_ADMIN",
"timezone": "<string>",
"note": "<string>",
"mayEditApprovedTerms": true,
"mayRejectJobs": true,
"editorMachineTranslateEnabled": true,
"receiveNewsletter": true,
"mayEditTranslationMemory": true,
"maySeeProviderNames": true,
"sourceLangs": [
"<string>"
],
"targetLangs": [
"<string>"
],
"workflowSteps": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
}
],
"clients": [
{
"id": "<string>",
"uid": "<string>",
"name": "<string>"
}
],
"domains": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"subDomains": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"projectBusinessUnits": [
{
"name": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"organization": {},
"priceList": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"netRateScheme": {
"id": "<string>",
"uid": "<string>",
"name": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
}
},
"automationWidgets": [
{
"id": "<string>",
"uid": "<string>",
"name": "<string>"
}
],
"active": true
}
User object to update. Optional empty fields will be set to null
successful operation
User with all belonging objects
Was this page helpful?