VMware Workspace ONE Community
Dzaecko
Contributor
Contributor

Workspace ONE MDM API - Create Profiles

How do you do?
I am trying to deliver certificates to devices for a customer via the API interface. The certificates are issued by us and are currently still self-signed. My approach is to use the API to create a profile, attach a certificate to this profile and then install it on the device. This should happen automatically later.

Unfortunately, I am currently stuck at the point of creating the profile.

I am using version 3 of this API. For one thing, I can only select WINDOWWSDESKTOP as the platform. As soon as I select Android, the following message appears: PLatform not supported. Furthermore, I get the following error message when I try to create a profile for the WINDOWSDESKTOP platform: "At least one payload, in addition to General, must be configured". I would like to configure the certificate here if this is possible. This is my body for the call:

{
"payloads": [
{
"type": "ANDROID_GENERAL",

}
],
"add_version": true,
"allow_removal": "ALWAYS",
"assigned_smart_groups": [
"cfbc7a51-eeb8-447b-8d8a-77ef56d95ed0"
],
"assignment_type": "AUTO",
"deployment": "MANAGED",
"description": "Text value",
"expiration_date": "2024-08-31T02:57:30.2317133+01:00",
"is_active": true,
"managed_organization_group_uuid": "b2b2cc34-4d93-4ab6-a728-d9d7c8f1993f",
"name": "Text value",
"platform": "WINDOWSDESKTOP",
"profile_context": "DEVICE",
"profile_uuid": "ef4583d2-9fda-4e83-87d0-cd2191c73783",
"version": 1
}

0 Kudos
0 Replies