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
username stringnullable
database
object
name stringnullable
role
object
name stringnullable
creationDate date-timenullable
createdBy stringnullable
{
"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
username stringnullable
database
object
name stringnullable
role
object
name stringnullable
creationDate date-timenullable
createdBy stringnullable
{
"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
username stringnullable
database
object
name stringnullable
role
object
name stringnullable
creationDate date-timenullable
createdBy stringnullable
{
"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
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
property name* any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
property name* any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
property name* any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Internal Server Error
Loading...