Skip to main content
Solved

Get SubclientId and ClientId from content

  • January 13, 2026
  • 2 replies
  • 55 views

Forum|alt.badge.img+6

Hi guys,

 

is there a possibility to get the subclientId of a client when searching for a specific content.

E.g.:
I have 3 subclients, 1 for drive c, 1 for drive d and 1 for drive e.
Now I want to get the SubclientId for the path “c:\example”.

Is there any possibility to get this? Maybe per RestAPI?

 

BR
Jan

Best answer by JanR

Hi ​@JanR 

 

You can use REST API with “GET Subclient” to obtain the Subclient Id - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient.html

and “GET Subclient Properties” to obtain the content - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient_properties.html

 

Hope this helps.

 

Best Regards,

Michael

Hi Michael,

thx for answering so fast :-)

This helps, but it would be great if you could just give a path and Commvault gets back the SubclientId.
Would be a nice feature request ;-)

But for the moment, it helps me. Thx!

 

BR
Jan

2 replies

MichaelCapon
Vaulter
Forum|alt.badge.img+19
  • Vaulter
  • January 13, 2026

Hi ​@JanR 

 

You can use REST API with “GET Subclient” to obtain the Subclient Id - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient.html

and “GET Subclient Properties” to obtain the content - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient_properties.html

 

Hope this helps.

 

Best Regards,

Michael


Forum|alt.badge.img+6
  • Author
  • Apprentice
  • Answer
  • January 13, 2026

Hi ​@JanR 

 

You can use REST API with “GET Subclient” to obtain the Subclient Id - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient.html

and “GET Subclient Properties” to obtain the content - Ref: https://documentation.commvault.com/11.40/software/rest_api_get_subclient_properties.html

 

Hope this helps.

 

Best Regards,

Michael

Hi Michael,

thx for answering so fast :-)

This helps, but it would be great if you could just give a path and Commvault gets back the SubclientId.
Would be a nice feature request ;-)

But for the moment, it helps me. Thx!

 

BR
Jan