Skip to main content

API v2 - Customer Tenant - How to switch account from trial mode to production

Beginner
Posts: 5
Comments: 1

After successfully posting a customer tenant (on uri /api/2/tenants) with minimal data (just nameparent_id, kind, brand_id and default_idp_id) I've noticed that it was created as a Trial account by default. Checking on the available documentation I haven't found how to switch it into production. How this can be done? Also, is it possible to create a customer tenant in production mode directly?

Related to this, I'd also like to know what this switching action really does. For instance, in the Data Cloud's web interface I've noticed that a Customer Tenant already into production mode cannot be turned back to trial, and that made me wonder about any other consecuences of the switching (like in billing I suppose).

Acronis Program Manager
Posts: 7
Comments: 163

Hi Eduardo,

 

This functionality is not available yet in APIv2. Please use APIv1 to change group status to "1".

See doc here: https://eu-cloud.acronis.com/api/1/doc. Check /api/1/logic/constants for available options.

 

To create a Customer directly in production, explicitly set the group status to "1" when creating the group or right after, if you use APIv2 to create the group.

 

What it does is it activates this user for billing. In trial mode, all service consumed by the Customer is not calculated for billing, while in production it does. Once a group is switched to production (this happens automatically after 1 full month of trial), it cannot go back to trial.

 

Best regards,

Dmitry