Grant

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

POST/api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges
Endpoint to indicate that the privileges listed in the request body should be granted.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
200
Successful request.
202

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.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
200
202

Revoke the specified privilege on the named securable from the named grantee (Deprecated)

DELETE/api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges/{privilege}
Endpoint to indicate that the privilege listed in the path should be revoked.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
200
202

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.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
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.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
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.

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Resposta

CódigoDescrição
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

Para obter mais informações

Acesse a página do comando SQL para obter mais informações sobre argumentos, opções, requisitos de privilégios e diretrizes de uso.

Exibição

Parâmetros de consulta

ParâmetroDescrição
showLimit integer
Query parameter to limit the maximum number of rows returned by a command.

Resposta

CódigoDescrição
200
successful
202
Successfully accepted the request, but it is not completed yet.