updateAuthorization method

ResponseFuture<UpdateAuthorizationResponse> updateAuthorization(
  1. UpdateAuthorizationRequest request, {
  2. CallOptions? options,
})

Update Authorization

Deprecated: please move to the corresponding endpoint under authorization service v2. This endpoint will be removed with the next major version of ZITADEL.

UpdateAuthorization updates the authorization.

Note that any role keys previously granted to the user and not present in the request will be revoked.

Required permissions:

  • "user.grant.write"

Implementation

$grpc.ResponseFuture<$0.UpdateAuthorizationResponse> updateAuthorization(
  $0.UpdateAuthorizationRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$updateAuthorization, request, options: options);
}