{"info":{"_postman_id":"db00c45e-b3ab-48ac-b993-5e6f233a1779","name":"UEM-Authenticate","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"12159963","collectionId":"db00c45e-b3ab-48ac-b993-5e6f233a1779","publishedId":"2s9YXfai2n","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-11-06T04:35:47.000Z"},"item":[{"name":"Register Oauth App","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var responseBody = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"client_id\", responseBody.client_id);","postman.setEnvironmentVariable(\"client_secret\", responseBody.client_secret);"],"id":"0013c416-f62b-4cb7-85bc-70e450d2d673"}}],"id":"60dc4ff4-1fcf-4742-bea6-1c6e85d78fdd","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"applicationName\":\"cdmf_android_4811a7d39b09d709\",\"tags\":[\"android\",\"device_management\"],\"username\":\"admin\", \"password\":\"admin\", \"allowedToAllDomains\":false,\"mappingAnExistingOAuthApp\":false}","options":{"raw":{"language":"json"}}},"url":"https://localhost:8243/api-application-registration/register","description":"<p>Create Application credentials</p>\n","urlObject":{"protocol":"https","port":"8243","path":["api-application-registration","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"60dc4ff4-1fcf-4742-bea6-1c6e85d78fdd"},{"name":"Generate/renew Token","event":[{"listen":"test","script":{"id":"2aa241ec-817c-419e-bebf-5e2711edd27c","exec":["var responseBody = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"access_token\", responseBody.access_token);"],"type":"text/javascript"}}],"id":"91fadffc-fabc-4c5c-8970-e65b6d44a3bc","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{client_id}}"},{"key":"password","value":"{{client_secret}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"admin","type":"text"},{"key":"password","value":"admin","type":"text"},{"key":"scope","value":"grafana:api:view dm:sign-csr cm:cert:add cm:cert:details:get cm:cert:view cm:cert:delete cm:cert:verify dm:activity:get dm:an:artifacts:stream:add dm:an:artifacts:stream:delete dm:an:artifacts:rcv:add dm:an:artifacts:rcv:delete dm:an:artifacts:pub:add dm:an:artifacts:pub:delete dm:an:artifacts:siddhi:add dm:an:artifacts:siddhi:delete dm:conf:view dm:conf:manage dm:device:enroll dm:device:modify dm:device:disenroll dm:device:event:publish dm:ops:view dm:device-type:event:modify dm:device-type:event:view dm:devices:view dm:devices:details dm:devices:update dm:devices:delete dm:devices:features:view dm:devices:search dm:devices:app:view dm:devices:ops:view dm:devices:policy:view dm:devices:compliance:view dm:devices:status:change dm:devices:enrollment-guide:view dm:device-type:view dm:device-type:features:view dm:device-type:conf:view dm:policies:view dm:geo:an:view dm:geo:alerts:manage dm:geo:geo-fence:manage gm:groups:view gm:groups:count gm:groups:add gm:groups:groups-view gm:groups:update gm:groups:remove gm:roles:share gm:roles:view gm:devices:view gm:devices:count gm:devices:add gm:devices:remove gm:devices:assign gm:groups:device:view gm:devices-types:view dm:metadata:view dm:metadata:create dm:metadata:update dm:metadata:remove dm:notifications:view dm:notif:mark-checked pm:policies:add pm:policies:details:view pm:policies:update pm:policies:remove pm:policies:activate pm:policies:deactivate pm:policies:change pm:policies:priorities:update pm:policies:effective-policy dm:remote:connect rm:roles:view rm:roles:permissions:view rm:roles:details:view rm:roles:add rm:roles:combined:add rm:roles:update rm:roles:delete rm:users:add um:users:add um:users:details:view um:users:update um:users:delete um:roles:view um:users:user-details:view um:users:count um:users:is-exist um:users:search um:users:cred:change um:users:invite um:users:permission:view dm:whitelable:view dm:whitelable:update am:admin:app:install am:admin:app:uninstall dm:authorization:verify dm:device-type:deploy dm:admin:devices:view dm:admin:enrollment:update dm:admin:devices:permanent-delete dm:admin:devices:usage:view dm:admin:device-type:modify dm:admin:device-type:view dm:admin:device-type:conf:add gm:admin:groups:view gm:admin:groups:count gm:admin:groups:add um:admin:users:view um:admin:users:remove admin:tenant:view admin:permissions:add conf:sms-handler:view an:db:non-compliant:count an:db:non-compliant an:db:by-groups an:db:device:count an:db:feature-non-compliant an:db:overview:count an:db:filtered-count an:db:details and:work:customer and:work:admin app:command:modify dm:admin dm:admin:metadata:view dm:firealarm:enroll dm:admin:topics:view am:admin:pub:app:update am:admin:pub:app:review:update am:admin:pub:app:review:view am:pub:app:view am:pub:app:update am:pub:sp:app:view am:pub:sp:connect am:pub:sp:create am:pub:sp:attach am:pub:sp:detach am:admin:store:app:review:update am:admin:store:app:sub:view am:admin:store:app:sub:modify am:store:app:view am:store:app:modify am:store:app:review:view am:store:app:review:update am:store:app:sub:install am:store:app:sub:uninstall am:store:vpp:user:modify am:store:vpp:user:view am:store:vpp:assets:modify am:store:vpp:assets:view dm:admin:sim:enroll dm:admin:sim:update dm:admin:sim:permanent-delete dm:sim:view dm:sim:types:view dm:sim:com:activate dm:sim:com:deactivate dm:sim:types:add dm:sim:types:update dm:traccar:devices:view and:ops:lock-devices and:ops:unlock-devices and:ops:location and:ops:clear-password and:ops:control-camera and:ops:device-info and:ops:logcat and:ops:enterprise-wipe and:ops:wipe and:ops:app-list and:ops:ring and:ops:clear-app and:ops:reboot and:ops:change-LockTask and:ops:mute and:ops:install-app and:ops:update-app and:ops:uninstall-app and:ops:blacklist-app and:ops:upgrade-firmware and:ops:configure-vpn and:ops:send-notif and:ops:configure-wifi and:ops:global-proxy and:ops:encrypt-storage and:ops:change-lock-code and:ops:password-policy and:ops:set-webclip and:ops:file-transfer and:ops:send-app-restrictions and:ops:conf-display-msg and:ops:add-google-acc and:ops:configure-device-theme-wallpaper and:ops:configure-device-theme-audio and:ops:update-default-sim and:ops:authenticate-acc and:ops:suspend-package and:ops:alternate-install and:devices:enroll and:devices:disenroll and:conf:view and:conf:manage and:enterprise:modify and:enterprise:view ios:dep:view ios:dep:add ios:ops:cellular-payload ios:ops:confure-apn ios:ops:add-email ios:ops:add-LDAP ios:ops:install-enterprise-app ios:ops:install-store-app ios:ops:remove-app ios:ops:app-list ios:ops:profile-list ios:ops:lock ios:ops:enterprise-wipe ios:ops:device-info ios:ops:restriction ios:ops:confure-wifi ios:ops:global-proxy ios:ops:ring ios:ops:location ios:ops:notif ios:ops:airplay ios:ops:caldav ios:ops:cal-sub ios:ops:passcode-policy ios:ops:webclip ios:ops:confure-vpn ios:ops:per-app-vpn ios:ops:app-to-per-app-vpn ios:ops:app-lock ios:ops:clear-passcode ios:ops:remove-profile ios:ops:get-restrictions ios:ops:wipe ios:ops:boolean-setting ios:ops:wallpaper ios:ops:app-attributes ios:ops:app-conf ios:ops:external-profile mac:ops:restrict-app-store ios:ops:install-font mac:ops:shutdown mac:ops:login-window-preference mac:ops:restart mac:ops:firewall ios:devices:view ios:devices:enroll ios:ops:app ios:conf:view ios:conf:manage win:devices:enroll win:conf:view win:conf:manage win:ops:lock-devices win:ops:disenroll win:ops:wipe win:ops:ring win:ops:lock-reset win:ops:reboot win:ops:location win:ops:apps win:ops:enterprise-app-install win:ops:scan and:conf:devices:enroll ","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"https://localhost:8243/token","urlObject":{"protocol":"https","port":"8243","path":["token"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"91fadffc-fabc-4c5c-8970-e65b6d44a3bc"}]}