List of privileges associated with this grantee type and name
GET {{baseUrl}}/api/v2/grants/:granteeType/:granteeName?showLimit=<integer>
List the roles and privileges granted to the specified grantee using the output of SHOW GRANTS TO
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
showLimit | string | Query parameter to limit the maximum number of rows returned by a command. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"privileges":["\u003cstring\u003e","\u003cstring\u003e"],"grant_option":"\u003cboolean\u003e","created_on":"\u003cdateTime\u003e","grantee_type":"\u003cstring\u003e","grantee_name":"\u003cstring\u003e","securable_type":"\u003cstring\u003e","securable_name":"\u003cstring\u003e","granted_by_role_type":"\u003cstring\u003e","granted_by_name":"\u003cstring\u003e"},{"privileges":["\u003cstring\u003e","\u003cstring\u003e"],"grant_option":"\u003cboolean\u003e","created_on":"\u003cdateTime\u003e","grantee_type":"\u003cstring\u003e","grantee_name":"\u003cstring\u003e","securable_type":"\u003cstring\u003e","securable_name":"\u003cstring\u003e","granted_by_role_type":"\u003cstring\u003e","granted_by_name":"\u003cstring\u003e"}]