Skip to content
Docs

User

Get User Details
client.User.Get(ctx) (*User, error)
GET/v1/user
ModelsExpand Collapse
type User struct{…}

User details.

ID string

Unique identifier for the User.

Email string

Email address of the user.

FirstName string

First name of the user.

LastName string

Last name of the user.

UserSecurity

Get User Security Settings
client.User.Security.Get(ctx) (*UserSecurity, error)
GET/v1/user/security
Update User Security Settings
client.User.Security.Update(ctx, body) (*UserSecurity, error)
PATCH/v1/user/security
ModelsExpand Collapse
type UserSecurity struct{…}

User security settings response.

IP filter rules.

Allowed []string

List of IPv4 CIDR addresses to allow.

Blocked []string

List of IPv4 CIDR addresses to deny.

CreatedAt TimeOptional

When the user security settings were created.

formatdate-time
UpdatedAt TimeOptional

When the user security settings were updated.

formatdate-time