List all Users for a Customer
Returns a list of users for the specified customer. The users are returned sorted by Name.
Headers
-
The domain used to access the portal.
-
X-Correlation-Id string(UUID)
This header is optional and by setting it you can correlate the audit logs made by this request.
Path parameters
-
GUID Unique identifier for the customer.
Query parameters
-
resellerId string(uuid)
GUID Unique identifier for the reseller. View only users in the context of the specified resellerId. In case of a reseller user this property is auto-populated.
GET /v1/customer/{customerId}/users
curl \
-X GET https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/customer/{customerId}/users \
-H "X-Tenant: portal.cloudcockpit.com" \
-H "Authorization: Bearer eyJ0eXAiO..." \
-H "X-Correlation-Id: string"
Response examples (200)
[
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"role": {
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string"
}
]
}
]
Response examples (200)
[
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"role": {
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string"
}
]
}
]
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}