Users
The user of the cluster. Access is managed by certificates. The certificates are retrieved by the access endpoint.
This tag groups all operations for users.
This endpoint enables retrieving all Users using pagination and optional filters.
Authorizations
Path parameters
clusterIdstring · uuidRequiredExample:
The ID (UUID) of the Cluster.
e69b22a5-8fee-56b1-b6fb-4a07e4205ead
Responses
200
Returned all requested Users successfully.
application/json
Responseall of
400
### Bad Request
The request send to the API was malformed.
application/json
401
### Unauthorized
The request is missing authorization information or the authorization information provided are expired.
application/json
403
### Not Allowed
The user issuing the request does not have the needed permissions.
application/json
429
### Too Many Requests
The user has sent too many requests in a given amount of time.
application/json
500
### Internal Server Error
An internal error occurred. We apologize for the inconvenience!
application/json
503
### Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
application/json
default
### Unexpected Internal Server Error
An unexpected internal error occurred. We apologize for the inconvenience!
application/json
get
GET /clusters/{clusterId}/users HTTP/1.1
Host: kafka.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "434e0c83-031d-5f5a-be82-63ee54dda025",
"type": "collection",
"href": "/clusters/{clusterId}/users",
"items": [
{
"id": "d11db12c-2625-5664-afd4-a3599731b5af",
"type": "user",
"href": "/clusters/{clusterId}/users/d11db12c-2625-5664-afd4-a3599731b5af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "In progress."
},
"properties": {
"name": "my-kafka-cluster-user"
}
}
]
}
Returns the user by ID containing its access certificates in the metadata.
Authorizations
Path parameters
clusterIdstring · uuidRequiredExample:
The ID (UUID) of the cluster.
e69b22a5-8fee-56b1-b6fb-4a07e4205ead
userIdstring · uuidRequiredExample:
The ID (UUID) of the user.
d11db12c-2625-5664-afd4-a3599731b5af
Responses
200
Get user access information was successful.
application/json
400
### Bad Request
The request send to the API was malformed.
application/json
401
### Unauthorized
The request is missing authorization information or the authorization information provided are expired.
application/json
403
### Not Allowed
The user issuing the request does not have the needed permissions.
application/json
404
### Not Found
The resource that was requested could not be found.
application/json
429
### Too Many Requests
The user has sent too many requests in a given amount of time.
application/json
500
### Internal Server Error
An internal error occurred. We apologize for the inconvenience!
application/json
503
### Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
application/json
default
### Unexpected Internal Server Error
An unexpected internal error occurred. We apologize for the inconvenience!
application/json
get
GET /clusters/{clusterId}/users/{userId}/access HTTP/1.1
Host: kafka.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "d11db12c-2625-5664-afd4-a3599731b5af",
"type": "user",
"href": "/clusters/{clusterId}/users/d11db12c-2625-5664-afd4-a3599731b5af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "In progress.",
"certificateAuthority": "-----BEGIN CERTIFICATE ...",
"privateKey": "-----BEGIN PRIVATE KEY ...",
"certificate": "-----BEGIN CERTIFICATE ..."
},
"properties": {
"name": "my-kafka-cluster-user"
}
}
Was this helpful?