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

KeyDatatypeRequiredDescription
showLimitstringQuery parameter to limit the maximum number of rows returned by a command.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;privileges&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;grant_option&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created_on&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;grantee_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantee_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;securable_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;securable_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;granted_by_role_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;granted_by_name&quot;:&quot;\u003cstring\u003e&quot;},{&quot;privileges&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;grant_option&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created_on&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;grantee_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantee_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;securable_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;securable_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;granted_by_role_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;granted_by_name&quot;:&quot;\u003cstring\u003e&quot;}]