# Query hostnames via SCC API

**URL:** https://forums.suse.com/t/query-hostnames-via-scc-api/36156
**Category:** SUSE Customer Center
**Created:** [November 11, 2021, 3:25pm UTC](https://forums.suse.com/t/query-hostnames-via-scc-api/36156 "2021-11-11T15:25:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bin-doph](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/bin-doph/32/8259_2.png) [@bin-doph](https://forums.suse.com/u/bin-doph)
#### Post date: [November 11, 2021, 3:25pm UTC](https://forums.suse.com/t/query-hostnames-via-scc-api/36156/1 "2021-11-11T15:25:40Z")

</div>

Hi,

Im trying to get a list of all hostnames to my subscriptions via the  
[SUSE Connect API](https://scc.suse.com/connect/v4/documentation), but the api endpoint I would use to query such information [/organizations/systems/{id}](https://scc.suse.com/connect/v4/documentation#/organizations/get_organizations_systems__id_) does only return logins, which I guess translate to my registered systems, but I cant see a way to get it from the api.

Basically Im looking for a way to query the same data, that Im able to put into the system via POST /organizations/systems like hostname.

any hints welcome, thank you for your time

cheers
