Grant the specified privilege(s) on the named securable to the named grantee.

POST {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:securableType/:securableName/privileges

Endpoint to indicate that the privileges listed in the request body should be granted.

Request Body

{"privileges"=>["<string>", "<string>"], "grant_option"=>"<boolean>", "created_on"=>"<dateTime>", "grantee_type"=>"<string>", "grantee_name"=>"<string>", "securable_type"=>"<string>", "securable_name"=>"<string>", "granted_by_role_type"=>"<string>", "granted_by_name"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;}