List available realm authorization grantees
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultRealmAuthorizationGrantees
Lists users and roles available as realm authorization grantees. The default sort is granteeName:ASC, and the default page size is 200.
Request
Path Parameters
-
databaseId(required): string
ID of the target database.
Query Parameters
-
limit: integer
Minimum Value:
1Maximum Value:2000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.Default Value:20 -
page: string
System generated page token of a page.
-
sort: string
Sort expression in property:ASC or property:DESC form. Each list operation documents its default sort.
Header Parameters
-
ORCL-EM-DBTARGET-AUTHORIZATION(required): string
Authorization credentials for the Enterprise Manager database target.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Realm authorization grantees retrieved.
Root Schema : DbVaultRealmAuthorizationGranteeCollection
Type:
objectPaginated collection of available realm authorization grantees.
Show Source
-
items(required): array
items
Minimum Number of Items:
0Maximum Number of Items:2000Realm authorization grantees on the current page.
Match All
Paginated collection of available realm authorization grantees.
Show Source
-
object
CountLinks
This represents pagination properties like count and links.
Nested Schema : items
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
2000Realm authorization grantees on the current page.
Show Source
-
Array of:
object RealmAuthorizationGranteeSummary
Database user or role eligible for a realm authorization, with its type.
Nested Schema : CountLinks
Type:
objectThis represents pagination properties like count and links.
Show Source
-
count: integer
This represents total number of elements in a page.Example:
20 -
links: object
links
Read Only:
trueThe result set navigation links
Nested Schema : RealmAuthorizationGranteeSummary
Type:
objectDatabase user or role eligible for a realm authorization, with its type.
Show Source
-
granteeName: string
Name of the grantee.Example:
DVSYS -
granteeType: string
Type of the grantee.Example:
USER
Nested Schema : links
Type:
objectRead Only:
trueThe result set navigation links
Show Source
-
next: object
Link
A link referencing to another api
-
previous: object
Link
A link referencing to another api
-
self: object
Link
A link referencing to another api
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
403 Response
Forbidden
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Default Response
Unexpected error.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported