Get Service Accounts API
This API retrieves a specific service account by its identifier.
Input parametersInput parameters
| Parameter | Mandatory/Optional | Data Type | Description |
|---|---|---|---|
| accountId | Mandatory | String (path) | Service account identifier |
Sample - Get Service AccountsSample - Get Service Accounts
API Request
curl -X GET \ '<qualys_gateway_url>/flexscan-api/rest/v1/service-accounts/my-gcp-project' \ -H 'Authorization: Bearer <qas-jwt-token>'
API Response
{
"data": {
"accountId": "my-gcp-project",
"cloudType": "GCP",
"customerUuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"connectorUuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"portalUuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"regions": ["us-east1", "us-west1"],
"state": "REGISTERED",
"createdAt": "2026-05-01T10:00:00",
"updatedAt": "2026-05-28T11:30:00"
},
"errors": [],
"meta": {
"timestamp": "2026-05-28T11:30:00Z"
}
}