Grant
Grant the specified privilege(s) on the named securable to the named grantee (Deprecated)¶
Grant the specified privilege(s) on all/future (as specified by bulkGrantType) securables of this type in a given scope to the named grantee (Deprecated)¶
POST/api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges
Endpoint to indicate that the privileges listed in the request body should be granted to all securables of this type in the given scope.
詳細情報をご参照ください
引数、オプション、権限要件、使用ガイドラインに関する詳細情報を表示するには、 SQL コマンドページに移動してください。
応答¶
| コード | 説明 |
|---|---|
| 200 | |
| 202 |
Revoke the specified privilege on the named securable from the named grantee (Deprecated)¶
Revoke the grant option for the specified privilege on the named securable from the named grantee (Deprecated)¶
DELETE/api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges/{privilege}/grant-option
Endpoint to indicate that the grant option for the privilege listed in the path should be revoked.
詳細情報をご参照ください
引数、オプション、権限要件、使用ガイドラインに関する詳細情報を表示するには、 SQL コマンドページに移動してください。
応答¶
| コード | 説明 |
|---|---|
| 200 | |
| 202 |
Revoke the specified privilege on the specified all/future securable in the given scope from the named grantee (Deprecated)¶
DELETE/api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges/{privilege}
Endpoint to indicate that the privilege listed on the group securable in the given scope should be revoked.
詳細情報をご参照ください
引数、オプション、権限要件、使用ガイドラインに関する詳細情報を表示するには、 SQL コマンドページに移動してください。
応答¶
| コード | 説明 |
|---|---|
| 200 | |
| 202 |
Revoke the grant option for the specified privilege on the specified all/future securable in the given scope from the named grantee (Deprecated)¶
DELETE/api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges/{privilege}/grant-option
Endpoint to indicate that the grant option for the privilege listed on the group securable in the given scope should be revoked.
詳細情報をご参照ください
引数、オプション、権限要件、使用ガイドラインに関する詳細情報を表示するには、 SQL コマンドページに移動してください。
応答¶
| コード | 説明 |
|---|---|
| 200 | |
| 202 |
List of privileges associated with this grantee type and name (Deprecated)¶
GET/api/v2/grants/{granteeType}/{granteeName}
List the roles and privileges granted to the specified grantee using the output of SHOW GRANTS TO
詳細情報をご参照ください
引数、オプション、権限要件、使用ガイドラインに関する詳細情報を表示するには、 SQL コマンドページに移動してください。
クエリパラメーター¶
| パラメーター | 説明 |
|---|---|
| showLimit integer | Query parameter to limit the maximum number of rows returned by a command. |
応答¶
| コード | 説明 |
|---|---|
| 200 | successful |
| 202 | Successfully accepted the request, but it is not completed yet. |