Create subaccount
POST https://www.digicert.com/services/v2/account
Use this endpoint to create a new subaccount.
Items to note
If subaccounts have not been enabled by your account representative, you will receive access_denied|missing_permission
error.
Danger
When creating a managed account, the API key is shown only this one time in the api_key
parameter of the response body. It will never be shown again. If it is lost, you must contact support at https://www.digicert.com/contact-us/ to get a new one.
Example requests and responses
Request parameters
Name | Req/Opt | Type | Description |
---|---|---|---|
account_type | required | string | Specify type of subaccount to create. See Glossary – Subaccount types. Allowed values: |
allowed_grandchildren | required | array | List of account types that can be created under the account. See Glossary – Subaccount types. Allowed values: |
account_manager_user_id | optional | integer | ID of an existing user that will manage the subaccount. |
bill_parent | optional | boolean | If Default: |
enforce_bill_parent | optional | boolean | If Default: Note: When |
child_name | optional | string | Friendly name to help identify subaccounts with identical or similar names. This name is only visible to the parent account. Maximum length: 64 characters |
user | required | object | Details about the new subaccount user to create. |
.. first_name | required | string | First name of the subaccount user. |
.. last_name | required | string | Last name of the subaccount user. |
required | string | Email address of the subaccount user. The account creation email will be sent to this address. | |
.. username | optional | string | Username used to sign in to the subaccount. If omitted, the |
.. job_title | optional | string | Job title of the subaccount user. |
.. telephone | optional | string | Telephone number of the subaccount user. |
.. disable_renewal_notifications | optional | boolean | Specify if this account will receive renewal notifications. Default: |
organization | required | object | Details about the subaccount's primary organization |
.. name | required | string | Legal name of the organization. |
.. assumed_name | optional | string | Public name of the organization. Also called DBA name. |
.. address | required | string | Address of the organization. |
.. address2 | optional | string | |
.. zip | required | string | Postal code of the organization. |
.. city | required | string | City where the organization is located. |
.. state | required | string | State where the organization is located. |
.. country | required | string | Country where the organization is located. |
.. telephone | optional | string | Organization telephone number. |
max_allowed_multi_year_plan_length | optional | integer | Maximum Multi-year Plan length for orders the subaccount creates. Range: Default: If not provided, the subaccount inherits the maximum length from the parent account. * Note: Enterprise License Agreement (ELA) and Flat Fee contracts only support 1- and 2-year Multi-year Plans. When you provide a value greater than the length allowed for your account, we return an error. |
allow_parent_order_renewal | optional | boolean | If Default: |
enable_ica_selection | optional | boolean | If Default: Learn more about configuring the ICA certificate chain feature for your public certificates. |
Response parameters
Name | Type | Description |
---|---|---|
id | integer | Account ID of the subaccount. |
account_type | string | Account type of the subaccount. |
account_manager_user_id | integer | User ID of the subaccount manager. |
bill_parent | boolean | Specifies if parent account is billed for certificate orders. |
organization | object | Details about the subaccount's primary organization. |
.. id | integer | Organization ID. |
.. status | string | Organization status. Possible values: |
.. name | string | Legal name of the organization. |
.. assumed_name | string | Public name of the organization. Also called DBA name. |
.. display_name | string | Full name of the organization. Constructed using name + assumed_name. |
.. is_active | boolean | Active status of the organization. |
.. address | string | Address of the organization. |
.. address2 | string | |
.. zip | string | Postal code of the organization. |
.. city | string | City where the organization is located. |
.. state | string | State where the organization is located. |
.. country | string | Country where the organization is located. |
.. telephone | string | Organization telephone number. |
.. container | object | Primary container the organization is attached to. |
.. .. id | integer | Container ID. |
.. .. parent_id | integer | ID of the container's parent. |
.. .. name | string | Name of the container. |
.. .. is_active | boolean | Active status of the organization. |
user | object | Details about the new subaccount user. |
.. id | integer | User ID. |
.. username | string | Username used to sign in to the subaccount. |
.. account_id | integer | Account ID of the new subaccount. |
.. first_name | string | First name of the user. |
.. last_name | string | Last name of the user. |
string | Email address of the user. | |
.. job_title | string | Job title of the user. |
.. telephone | string | Telephone number of the user. |
.. type | string | User type. Possible values: |
api_key | string | Generated API key for the subaccount. Only returned if |
child_name | string | Friendly name to help identify subaccounts with identical or similar names. Only returned if the subaccount has a |
max_allowed_multi_year_plan_length | integer | Maximum Multi-year Plan length (in years) for orders the subaccount creates. |
allow_parent_order_renewal | boolean | If |
enable_ica_selection | boolean | If |