google_api_android_enterprise v0.16.1 GoogleApi.AndroidEnterprise.V1.Api.Enterprises View Source
API calls for all endpoints tagged Enterprises
.
Link to this section Summary
Functions
Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications.
Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token.
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.
Enrolls an enterprise with the calling EMM.
Generates a sign-up URL.
Retrieves the name and domain of an enterprise.
Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side.
Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage.
Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.
Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending. A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending. If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.
Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.
Sets the account that will be used to authenticate to the API as the enterprise.
Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.
Unenrolls an enterprise from the calling EMM.
Link to this section Functions
androidenterprise_enterprises_acknowledge_notification_set(connection, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_acknowledge_notification_set( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:notificationSetId
(type:String.t
) - The notification set ID as returned by Enterprises.PullNotificationSet. This must be provided.
opts
(type:keyword()
) - Call options
Returns
{:ok, %{}}
on success{:error, info}
on failure
androidenterprise_enterprises_complete_signup(connection, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_complete_signup( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.Enterprise.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:completionToken
(type:String.t
) - The Completion token initially returned by GenerateSignupUrl.:enterpriseToken
(type:String.t
) - The Enterprise token appended to the Callback URL.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.Enterprise{}}
on success{:error, info}
on failure
androidenterprise_enterprises_create_web_token(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_create_web_token( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.AdministratorWebToken.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.AndroidEnterprise.V1.Model.AdministratorWebTokenSpec.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.AdministratorWebToken{}}
on success{:error, info}
on failure
androidenterprise_enterprises_enroll(connection, token, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_enroll( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.Enterprise.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Enrolls an enterprise with the calling EMM.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to servertoken
(type:String.t
) - The token provided by the enterprise to register the EMM.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.AndroidEnterprise.V1.Model.Enterprise.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.Enterprise{}}
on success{:error, info}
on failure
androidenterprise_enterprises_generate_signup_url(connection, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_generate_signup_url( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.SignupInfo.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Generates a sign-up URL.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:callbackUrl
(type:String.t
) - The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.SignupInfo{}}
on success{:error, info}
on failure
androidenterprise_enterprises_get(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.Enterprise.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Retrieves the name and domain of an enterprise.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.Enterprise{}}
on success{:error, info}
on failure
androidenterprise_enterprises_get_service_account(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_get_service_account( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.ServiceAccount.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side.
This method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it will return an error.
Subsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials.
Once the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:keyType
(type:String.t
) - The type of credential to return with the service account. Required.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.ServiceAccount{}}
on success{:error, info}
on failure
androidenterprise_enterprises_get_store_layout(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_get_store_layout( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.StoreLayout.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.StoreLayout{}}
on success{:error, info}
on failure
androidenterprise_enterprises_list(connection, domain, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.EnterprisesListResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverdomain
(type:String.t
) - The exact primary domain name of the enterprise to look up.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.EnterprisesListResponse{}}
on success{:error, info}
on failure
androidenterprise_enterprises_pull_notification_set(connection, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_pull_notification_set( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.NotificationSet.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending. A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending. If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:requestMode
(type:String.t
) - The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Speciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.NotificationSet{}}
on success{:error, info}
on failure
androidenterprise_enterprises_send_test_push_notification(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_send_test_push_notification( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.EnterprisesSendTestPushNotificationResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.EnterprisesSendTestPushNotificationResponse{}}
on success{:error, info}
on failure
androidenterprise_enterprises_set_account(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_set_account( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.EnterpriseAccount.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Sets the account that will be used to authenticate to the API as the enterprise.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.AndroidEnterprise.V1.Model.EnterpriseAccount.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.EnterpriseAccount{}}
on success{:error, info}
on failure
androidenterprise_enterprises_set_store_layout(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_set_store_layout( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidEnterprise.V1.Model.StoreLayout.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.AndroidEnterprise.V1.Model.StoreLayout.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AndroidEnterprise.V1.Model.StoreLayout{}}
on success{:error, info}
on failure
androidenterprise_enterprises_unenroll(connection, enterprise_id, optional_params \\ [], opts \\ [])
View Sourceandroidenterprise_enterprises_unenroll( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Unenrolls an enterprise from the calling EMM.
Parameters
connection
(type:GoogleApi.AndroidEnterprise.V1.Connection.t
) - Connection to serverenterprise_id
(type:String.t
) - The ID of the enterprise.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %{}}
on success{:error, info}
on failure