POST
/v1/organizations/:organizationId/mdm/aosp/enterprise
Copy to clipboard
Create non-GMS Android enterprise
Required Permission: mdm.aosp.enterprise.create
Create a non-GMS Android enterprise for the organization
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
Body Params
application/json
configuration
object
optional
primaryColor
string
optional
contactEmail
string
optional
contactPhone
string
optional
logo
object
optional
url
string
required
sha256Hash
string
required
pushNotificationProvider
string
optional
{
"configuration": {
"primaryColor": "string",
"contactEmail": "[email protected]",
"contactPhone": "string",
"logo": {
"url": "https://example.com",
"sha256Hash": "string"
}
},
"pushNotificationProvider": "string"
}
Responses
200 Response
application/json
status
boolean
required
data
object
required
id
string
required
organizationId
string
required
configuration
object
required
primaryColor
string
optional
contactEmail
string
optional
contactPhone
string
optional
logo
object
optional
pushNotificationProvider
string
optional
updatedAt
string
required
createdAt
string
required
{
"status": true,
"data": {
"id": "string",
"organizationId": "string",
"configuration": {
"primaryColor": "string",
"contactEmail": "[email protected]",
"contactPhone": "string",
"logo": {
"url": "https://example.com",
"sha256Hash": "string"
}
},
"pushNotificationProvider": "string",
"updatedAt": "string",
"createdAt": "string"
}
}
400 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 5050,
"message": "Feature not allowed for you billing plan"
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}