List Grants by User
GET/projects/:projectId/providers/Aruba.Database/dbaas/:dbaasId/users/:username/grants
List Grants by User
Request
Path Parameters
projectId stringrequired
Unique identifier of the CMP project.
dbaasId stringrequired
DBaaS instance containing the databaseName.
username stringrequired
The user to get the grants of.
Query Parameters
filter string
sort string
projection string
offset int32
limit int32
api-version string
The requested API version
Default value:
1Responses
- 200
- 404
- 500
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
totalint64
selfstringnullable
prevstringnullable
nextstringnullable
firststringnullable
laststringnullable
values
object[]
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"total": 0,
"self": "string",
"prev": "string",
"next": "string",
"first": "string",
"last": "string",
"values": [
{
"user": {
"username": "string"
},
"database": {
"name": "string"
},
"role": {
"name": "string"
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
totalint64
selfstringnullable
prevstringnullable
nextstringnullable
firststringnullable
laststringnullable
values
object[]
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"total": 0,
"self": "string",
"prev": "string",
"next": "string",
"first": "string",
"last": "string",
"values": [
{
"user": {
"username": "string"
},
"database": {
"name": "string"
},
"role": {
"name": "string"
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
totalint64
selfstringnullable
prevstringnullable
nextstringnullable
firststringnullable
laststringnullable
values
object[]
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"total": 0,
"self": "string",
"prev": "string",
"next": "string",
"first": "string",
"last": "string",
"values": [
{
"user": {
"username": "string"
},
"database": {
"name": "string"
},
"role": {
"name": "string"
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string"
}
]
}
Not Found
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Internal Server Error