Skip to main content

List subaccounts

GET https://www.digicert.com/services/v2/account/subaccount

Use this endpoint to list all subaccounts.

Example requests and responses

Filters and URL query parameters

This endpoint supports filters, sorting, and pagination. For general information and examples of the syntax to use when applying filters and sorting results, see Services API - Filters, sorting, and pagination parameters.

Name

Req/Opt

Type

Description

filters[{{property_name}}]

optional

string

Filters results by the specified property. Replace {{property_name}} in your request with the property to use for filtering. This endpoint supports filtering by the following properties:

filters[search]

optional

string

Limits response to results where the value of the organization_name property matches or contains a specific string of characters.

To search for values that contain a specific string of characters, prefix the string with a URL encoded (percent-encoded) % character: %25. To search for values that are an exact match for a string of characters, omit the %25 from the request.

Examples:

  • filters[search]=%25digicert

    Limits response to results where the value of a searched property contains the string digicert

  • filters[search]=digicert

    Limits response to results where the value of a searched property is an exact match for the string digicert.

sort

optional

string

Sorts results by the value of one or more properties.

By default, sorts results in ascending alphabetical order (0-9, A-Z). To sort in descending alphabetical order (9-0, Z-A), prefix the property name with a minus (-).

To sort by multiple properties, separate the name of each property with a comma. Sort hierarchy matches the order of properties in this list.

This endpoint supports sorting by the following properties:

  • account_id

  • account_type

  • organization_name

  • date_created

  • account_manager

offset

optional

int

Index of the first result to include in the response.

Default: 0

limit

optional

int

Total number of results to include in the response.

Max: 1000 (default)

Response parameters

Name

Type

Description

child_accounts

array

List of all subaccounts.

.. account_id

int

Account ID.

.. account_type

string

Defines the subaccount type. See Glossary – Subaccount types.

.. organization_name

string

Legal name of the subaccount's primary organization.

.. date_created

string

Timestamp of when the subaccount was created.

Format: yyyy-MM-dd HH:mm:ss

.. account_manager

string

Name of the subaccount's account representative.

page

object

Details about results. Modified using URL query strings.