Create EMM-managed enterprise
Required Permission: mdm.android.enterprise.create
Creates a new EMM-managed enterprise with specified configuration and contact information.
Request
authorization
Authorization: Bearer <token>
application/json
{
"enterpriseDisplayName": "string",
"contactInfo": {
"contactEmail": "string",
"dataProtectionOfficerName": "string",
"dataProtectionOfficerEmail": "string",
"dataProtectionOfficerPhone": "string",
"euRepresentativeName": "string",
"euRepresentativeEmail": "string",
"euRepresentativePhone": "string"
},
"configuration": {
"primaryColor": "string",
"logo": "string",
"contactEmail": "[email protected]",
"contactPhone": "string"
}
}
Responses
application/json
{
"status": true,
"data": {
"id": "string",
"config": {
"name": "string",
"enterpriseDisplayName": "string",
"logo": "string",
"primaryColor": 0,
"termsAndConditions": [
"string"
],
"enterpriseType": "string",
"managedGooglePlayAccountsEnterpriseType": "string",
"managedGoogleDomainType": "string",
"googleAuthenticationSettings": "string"
},
"error": "unauthorized",
"_config": "string",
"adminEmail": "[email protected]",
"updatedAt": "string",
"createdAt": "string"
}
}
application/json
{
"status": false,
"error": {
"code": 5046,
"message": "Android Emm Enterprise already exists for this organization"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}