Update Profile

PUT https://{{axpAPIDomain}}/api/admin/user/v1/accounts/:accountId/profiles/:profileId

This API requires the Account Administrator role.

Updates a profile.

The following fields must be unique otherwise a HTTP 409 Conflcit will be returned: * profileName

This operation will clear the value stored for any fields not present in the request. For example, to remove a feature such as voice from a user you should omit the voice field in the request. The same behavior applies to every field in the request.

Changes to the fields: * features

Will trigger asynchronous updates, the status of which should be monitored via /profiles:listStatuses.

Request Body

{"profileName"=>"Advanced", "description"=>"A profile with all the features", "uxProfileId"=>"6f482dcd-54a9-445f-ba6d-8ca5ebd5261a", "roles"=>["Agent"], "memberOfGroups"=>["c8c2909d-75e9-484a-94c0-b7e8d29771fe"], "features"=>{"matching"=>{"attributes"=>["Language.English", "Language.French"], "queues"=>[{"queueId"=>"620bbb28-7112-433a-af59-17ee0f15a247", "proficiency"=>10}, {"queueId"=>"07d2c0a3-f05c-47e7-a86e-51148d3d4fd4", "proficiency"=>6}]}, "chat"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "messaging"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "email"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "voice"=>{"autoAnswer"=>false, "afterContactWork"=>false}, "cmvoice"=>{"autoAssignExtension"=>false}}}

HEADERS

KeyDatatypeRequiredDescription
appkeystring
Content-Typestring
Acceptstring