POST - Add Child Organization to a Partner Portal
Purpose
This API is used to create a new child organization, along with the domain and other details, and associates it with the partner portal. Only the users having a Partner Admin role can use this API.
OAuth Scope
Use the scope
ZohoMail.partner.organization.ALL (or) ZohoMail.partner.organization.CREATE
to generate the Authtoken.
ALL - Full access to the organization
CREATE - Create a child organization
Request URL
Method: POST
https://mail.zoho.com/api/organization
Request Body (JSON Object)
- domainName* string
- Provide the name of the domain for the child organization that needs to be created.
- orgName* string
- Provide the name of the child organization that needs to be created.
- emailId* string
- Provide the super admin email address to create the child organization.
- firstName* string
- Provide the first name of the child organization.
- lastName* string
- Provide the last name of the child organization.
- password* string
- Provide the password for the child organization.
- planName string
- Provide the enrolled plan type of the child organization.
- The value can be basicTrial, professionalTrial, mailPremiumTrial, or free.
* - Mandatory parameter
Response Codes
Refer here for the response codes and their meaning.
Sample Request
Copied
The above sample request adds the domain zylker-mail.com to the Partner Portal.
Sample Response
Copied