Get Grant by User
GET/projects/:projectId/providers/Aruba.Database/dbaas/:dbaasId/users/:username/grants/:databaseName
Get Grant by User
Request
Path Parameters
projectId stringrequired
Unique identifier of the CMP project.
dbaasId stringrequired
DBaaS instance containing the databaseName.
databaseName stringrequired
The database to get the user grant of.
username stringrequired
The username to get the user grant of.
Query Parameters
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
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"user": {
"username": "string"
},
"database": {
"name": "string"
},
"role": {
"name": "string"
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string"
}
- Schema
- Example (from schema)
Schema
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"user": {
"username": "string"
},
"database": {
"name": "string"
},
"role": {
"name": "string"
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string"
}
- Schema
- Example (from schema)
Schema
user
object
usernamestringnullable
database
object
namestringnullable
role
object
namestringnullable
creationDatedate-timenullable
createdBystringnullable
{
"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