Bulk update multiple user profiles. Each profile update can include settings and auth service fields. Requires ‘updateSpecificProfile’ permission. For enneo users, also requires ‘enneoAdmin’ permission.
curl --request PATCH \
--url https://demo.enneo.ai/api/mind/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"profiles": [
{
"id": 1,
"settings": {
"status": "available",
"supersetRole": "<string>",
"ticketsFilters": {
"groups": [
1
],
"intents": [
"process_meter_reading"
],
"tagIds": [
1
],
"personalQueue": true,
"onlyIntents": true
},
"actualRoleId": 1,
"actualTeamIds": [
1
],
"actualSkills": {
"intents": [
"process_meter_reading"
],
"tagIds": [
1
],
"channels": [
"email"
]
},
"limitTicketBacklogAccess": false,
"ticketBacklogRequiredTagIds": [
1
],
"tagsOnRoute": [
1
],
"tagsOnEdit": [
1
],
"actualLimitTicketBacklogAccess": false,
"actualTicketBacklogRequiredTagIds": [
1
],
"actualTagsOnRoute": [
1
],
"actualTagsOnEdit": [
1
],
"isPersonalFilters": false,
"inheritTeamSettings": false,
"nameReports": "Tapfere Feige",
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
},
"firstName": "Max",
"lastName": "Mustermann",
"email": "[email protected]",
"phone": "+49 123 456789",
"image": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
"password": 123456,
"lastSeen": "2022-08-12 12:21:21",
"type": "enneo",
"isSsoOnly": 0,
"lang": "de",
"rawData": {},
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
}
]
}
'{
"results": [
{
"id": 1,
"success": true
}
]
}JWT-based authentication
Show child attributes
User ID User ID
1
Show child attributes
The status of the user
available, busy "available"
The superset role of the user. List of available options is retrieved from /api/mind/profile/{id:\d+}/supersetRoles
Show child attributes
Use skills to filter tickets
true
Show only tickets with intents
true
The id of the role that is used for the user (including inherited from teams)
1
The ids of the teams that the user is directly assigned to (without parent teams)
If true, the user can only see tickets with specific tags
false
The ids of the tags that are required for the user to see tickets
Tags to auto-assign to a ticket when it is routed to the user
Tags to auto-assign to a ticket when the user edits the ticket
If true, the user can only see tickets with specific tags (inherited from teams)
false
The ids of the tags that are required for the user to see tickets (inherited from teams)
Tags auto-assigned on route, including inherited from teams
Tags auto-assigned on edit, including inherited from teams
If true, the filters are personal and only apply to the user
false
If true, the filters are inherited from the team
false
The name of the reports
"Tapfere Feige"
The routing status for phone calls
idle, interacting, beingConnected, notResponding, unavailable, offline The routing status for chat conversations
idle, interacting, beingConnected, notResponding, unavailable, offline First name
"Max"
Last name
"Mustermann"
Email address (read only)
Phone number
"+49 123 456789"
Image
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="
Password
123456
The last time the user was seen (read only)
"2022-08-12 12:21:21"
The type of the user
"enneo"
If 1, the user can only login via SSO. If 0, the user can login with password or SSO
0, 1 0
The language of the user
"de"
Any additional, client-defined custom data to store with the profile
The routing status for queues (calls, chats, etc)
idle, interacting, beingConnected, notResponding, unavailable, offline The routing status for queues (calls, chats, etc)
idle, interacting, beingConnected, notResponding, unavailable, offline curl --request PATCH \
--url https://demo.enneo.ai/api/mind/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"profiles": [
{
"id": 1,
"settings": {
"status": "available",
"supersetRole": "<string>",
"ticketsFilters": {
"groups": [
1
],
"intents": [
"process_meter_reading"
],
"tagIds": [
1
],
"personalQueue": true,
"onlyIntents": true
},
"actualRoleId": 1,
"actualTeamIds": [
1
],
"actualSkills": {
"intents": [
"process_meter_reading"
],
"tagIds": [
1
],
"channels": [
"email"
]
},
"limitTicketBacklogAccess": false,
"ticketBacklogRequiredTagIds": [
1
],
"tagsOnRoute": [
1
],
"tagsOnEdit": [
1
],
"actualLimitTicketBacklogAccess": false,
"actualTicketBacklogRequiredTagIds": [
1
],
"actualTagsOnRoute": [
1
],
"actualTagsOnEdit": [
1
],
"isPersonalFilters": false,
"inheritTeamSettings": false,
"nameReports": "Tapfere Feige",
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
},
"firstName": "Max",
"lastName": "Mustermann",
"email": "[email protected]",
"phone": "+49 123 456789",
"image": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
"password": 123456,
"lastSeen": "2022-08-12 12:21:21",
"type": "enneo",
"isSsoOnly": 0,
"lang": "de",
"rawData": {},
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
}
]
}
'{
"results": [
{
"id": 1,
"success": true
}
]
}