Blocks retrieves a list of blocked IP addresses of a particular user.
(ctx context.Context, id string, opts ...management.RequestOption)
| 11 | type UserAPI interface { |
| 12 | // Blocks retrieves a list of blocked IP addresses of a particular user. |
| 13 | Blocks(ctx context.Context, id string, opts ...management.RequestOption) ([]*management.UserBlock, error) |
| 14 | |
| 15 | // BlocksByIdentifier retrieves a list of blocked IP addresses of a particular user using any of the user identifiers: username, phone number or email. |
| 16 | BlocksByIdentifier(ctx context.Context, identifier string, opts ...management.RequestOption) ([]*management.UserBlock, error) |
no outgoing calls
no test coverage detected