Get all credentials for a database
GET /databases/{databaseId}/credentials
Get all credentials for a databases.
Authorizations
Parameters
Path Parameters
A database ID.
Responses
200
A collection of database credentials
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
object
Number of items returned in the result.
Number of items returned in the result.
object
Unique identifier for this resource within Aerospike Cloud
A list of privileges granted to these credentials
The status of a user credential
Timestamp when the resource was created
Example
{
"credentials": [
{
"roles": [
400
Invalid input
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
401
Access token is missing or invalid
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
403
Permission denied
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
404
Resource not found
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
500
Internal Server Error
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error