PUT
/v1/organizations/:organizationId/mdm/android/enterprise/
Copy to clipboard
Update enterprise configuration
Required Permission: mdm.android.enterprise.update
Updates the EMM enterprise branding, contact information, and policy settings.
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
Body Params
application/json
emailText
string
optional
config
object
required
primaryColor
number
optional
logo
object
required
url
string
optional
sha256Hash
string
optional
enterpriseDisplayName
string
optional
termsAndConditions
array [object]
optional
header
object
optional
localizedMessages
object
optional
defaultMessage
string
optional
content
object
optional
localizedMessages
object
optional
defaultMessage
string
optional
appAutoApprovalEnabled
boolean
optional
contactInfo
object
optional
contactEmail
string
optional
dataProtectionOfficerName
string
optional
dataProtectionOfficerEmail
string
optional
dataProtectionOfficerPhone
string
optional
euRepresentativeName
string
optional
euRepresentativeEmail
string
optional
euRepresentativePhone
string
optional
configuration
object
optional
primaryColor
string
optional
logo
string
optional
contactEmail
string
optional
contactPhone
string
optional
{
"emailText": "string",
"config": {
"primaryColor": 0,
"logo": {
"url": "string",
"sha256Hash": "string"
},
"enterpriseDisplayName": "string",
"termsAndConditions": [
{
"header": {
"localizedMessages": {},
"defaultMessage": "string"
},
"content": {
"localizedMessages": {},
"defaultMessage": "string"
}
}
],
"appAutoApprovalEnabled": true,
"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
200 Response
application/json
status
boolean
required
data
object
required
id
string
required
config
object
required
name
string
optional
enterpriseDisplayName
string
optional
logo
any
optional
primaryColor
integer
optional
termsAndConditions
array
optional
enterpriseType
string
optional
managedGooglePlayAccountsEnterpriseType
string
optional
managedGoogleDomainType
string
optional
googleAuthenticationSettings
any
optional
error
string
optional
_config
any
optional
adminEmail
string
optional
updatedAt
string
required
createdAt
string
required
{
"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"
}
}
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"
}
}