User Tools

Site Tools


api:flexcare:dialog:profiles:update

API : FlexCare : Dialog : Profiles : Update

Introduction

This endpoint is used to update an already existing profile

Request

URL https://api.telecomx.dk/flexcare/dialog/profile/PROFILE_ID
Method POST
Access level RESELLER_ADMIN, ADMIN
Params PROFILE_ID Unique id of the profile to update
Body name String Name of profile
ipList Array<String> List of ip/ip-ranges that licenses can automatically be authenticated from
allLanguages Boolean If true, no matter the “languages” list, all languages available will be returned
languages Array<ObjectId> List of languages to make available for this profile
customer ObjectId Unique id of customer that owns the profile
largeKeyboardLayout String JSON string containing layout of keyboard on larger screens
smallKeyboardLayout String JSON string containing layout of keyboard on smaller screens

Query example

https://api.telecomx.dk/flexcare/dialog/profile/1234567890qwertyuiopqwer

Response

DialogLanguage - JSON Object
_id ObjectId Unique id of the profiles
name String Name of profile
allLanguages Boolean If true profile has all languages
customer ObjectId Unique id of customer profile belongs to
mdmKey String Key used to authenticate with MDM
ipList Array<String> List of whitelisted ip addresses
languages Array<ObjectId> List of languages selected for profile.
If allLanguages is true, this is an empty array
largeKeyboardLayout String JSON string containing layout of keyboard on larger screens
smallKeyboardLayout String JSON string containing layout of keyboard on smaller screens

Example

{
    _id: '1234567890qwertyuiopqwer',
    name: 'My profile',
    customer: '1234567890qwertyuiopqwer',
    allLanguages: false,
    ipList: [
        '145.125.12.45/24'
    ],
    languages: [
        '1234567890qwertyuiopqwer',
        '1234567890qwertyuiopqwer'
    ],
    mdmKey: 'seu9gj932f289ndwe89f4293fj-2oif3jm4oimof2im3fo',
    largeKeyboardLayout: '',
    smallKeyboardLayout: ''
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 not_found Profile not found
500 internal_error <Unspecified>
api/flexcare/dialog/profiles/update.txt · Last modified: 2025/08/12 10:00 by Mikkel Frederiksen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki