Skip to content

user

Manage users

Available_ips

Input parameters

ParameterTypeRequiredDetails
location
Location
Resource yes

Location where the VPS will run

address_location
Address location
Resource no

Location to select IP addresses from

Output parameters

ParameterTypeDescription
ipv4
IPv4
Integer
ipv4_private
Private IPv4
Integer
ipv6
IPv6
Integer

Create

Input parameters

ParameterTypeRequiredDetails
login
Login
String no

Default: null

Validation rules
RuleDetails
Format

Must match this regular expression:

\A[a-zA-Z0-9.-]{2,63}\z

null

Validation error message: not a valid login

full_name
Full name
String no

First and last name

Default: null

email
E-mail
String no

Administrator of this zone

Default: null

address
Address
String no

Default: null

time_zone
Time zone
String no

IANA time zone identifier, e.g. Europe/Prague

Default: null

level
Access level
Integer no

Default: null

info
Info
String no

Default: null

mailer_enabled
Enabled mailer
Boolean no

Default: true

password_reset
Password reset
Boolean no

Default: null

lockout
Lock-out
Boolean no

Default: null

language
Language of e-mails
Resource no
enable_basic_auth
Enable HTTP basic authentication
Boolean no

Default: null

enable_token_auth
Enable token authentication
Boolean no

Default: null

enable_oauth2_auth
Enable OAuth2 authentication
Boolean no

Default: null

enable_single_sign_on
Enable single sign-on
Boolean no

Default: null

enable_new_login_notification
Enable new login notification
Boolean no

Default: null

enable_multi_factor_auth
Enable multi-factor authentication
Boolean no

Default: null

preferred_session_length
Preferred session length
Integer no

Default: null

preferred_logout_all
Preferred logout all
Boolean no

Default: null

password
Password
String no

The password must be at least 8 characters long

Default: null

vps
Create a VPS
Boolean no

Default: null

node
Node
Resource no

Node VPS will run on

environment
Environment
Resource no

Environment in which to create the VPS

location
Location
Resource no

Location in which to create the VPS

os_template
OS template
Resource no

Output parameters

ParameterTypeDescription
id
User ID
Integer
login
Login
String
full_name
Full name
String First and last name
email
E-mail
String Administrator of this zone
address
Address
String
time_zone
Time zone
String IANA time zone identifier, e.g. Europe/Prague
level
Access level
Integer
info
Info
String
mailer_enabled
Enabled mailer
Boolean
password_reset
Password reset
Boolean
lockout
Lock-out
Boolean
language
Language of e-mails
Resource
enable_basic_auth
Enable HTTP basic authentication
Boolean
enable_token_auth
Enable token authentication
Boolean
enable_oauth2_auth
Enable OAuth2 authentication
Boolean
enable_single_sign_on
Enable single sign-on
Boolean
enable_new_login_notification
Enable new login notification
Boolean
enable_multi_factor_auth
Enable multi-factor authentication
Boolean
preferred_session_length
Preferred session length
Integer
preferred_logout_all
Preferred logout all
Boolean
last_activity_at
Last activity
Datetime
dokuwiki_groups
DokuWiki groups
String Comma-separated list of DokuWiki groups
created_at
Created at
Datetime
object_state
Object state
String
expiration_date
Expiration
Datetime A date after which the state will progress
remind_after_date
Remind after
Datetime Mail warnings are silenced until this date

Current

Input parameters

No parameters.

Output parameters

ParameterTypeDescription
id
User ID
Integer
login
Login
String
full_name
Full name
String First and last name
email
E-mail
String Administrator of this zone
address
Address
String
time_zone
Time zone
String IANA time zone identifier, e.g. Europe/Prague
level
Access level
Integer
info
Info
String
mailer_enabled
Enabled mailer
Boolean
password_reset
Password reset
Boolean
lockout
Lock-out
Boolean
language
Language of e-mails
Resource
enable_basic_auth
Enable HTTP basic authentication
Boolean
enable_token_auth
Enable token authentication
Boolean
enable_oauth2_auth
Enable OAuth2 authentication
Boolean
enable_single_sign_on
Enable single sign-on
Boolean
enable_new_login_notification
Enable new login notification
Boolean
enable_multi_factor_auth
Enable multi-factor authentication
Boolean
preferred_session_length
Preferred session length
Integer
preferred_logout_all
Preferred logout all
Boolean
last_activity_at
Last activity
Datetime
dokuwiki_groups
DokuWiki groups
String Comma-separated list of DokuWiki groups
created_at
Created at
Datetime
object_state
Object state
String
expiration_date
Expiration
Datetime A date after which the state will progress
remind_after_date
Remind after
Datetime Mail warnings are silenced until this date
monthly_payment
Monthly payment
Integer
paid_until
Paid until
Datetime

Delete

Input parameters

ParameterTypeRequiredDetails
object_state
Object state
String no

Default: soft_delete

Validation rules
RuleDetails
Include

Allowed values:

  • soft_delete
  • hard_delete
  • deleted

Validation error message: %{value} cannot be used

expiration_date
Expiration
Datetime no

A date after which the state will progress

Default: null

remind_after_date
Remind after
Datetime no

Mail warnings are silenced until this date

Default: null

change_reason
Reason
String no

Reason for the state change. May be mailed to the user.

Default: null

Output parameters

No parameters.

Get_payment_instructions

Input parameters

No parameters.

Output parameters

ParameterTypeDescription
instructions
Instructions
String

Index

Input parameters

ParameterTypeRequiredDetails
from_id
From ID
Integer no

List objects with IDs greater or lower than this value

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).

Validation error message: must be at least 0

limit
Limit
Integer no

Number of objects to retrieve

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).
  • Maximum: 1000 (inclusive).

Validation error message: must be between 0 and 1000

login
Login
String no

Default: null

Validation rules
RuleDetails
Format

Must match this regular expression:

\A[a-zA-Z0-9.-]{2,63}\z

null

Validation error message: not a valid login

full_name
Full name
String no

First and last name

Default: null

email
E-mail
String no

Administrator of this zone

Default: null

address
Address
String no

Default: null

time_zone
Time zone
String no

IANA time zone identifier, e.g. Europe/Prague

Default: null

level
Access level
Integer no

Default: null

info
Info
String no

Default: null

mailer_enabled
Enabled mailer
Boolean no

Default: true

password_reset
Password reset
Boolean no

Default: null

lockout
Lock-out
Boolean no

Default: null

language
Language of e-mails
Resource no
enable_basic_auth
Enable HTTP basic authentication
Boolean no

Default: null

enable_token_auth
Enable token authentication
Boolean no

Default: null

enable_oauth2_auth
Enable OAuth2 authentication
Boolean no

Default: null

enable_single_sign_on
Enable single sign-on
Boolean no

Default: null

enable_new_login_notification
Enable new login notification
Boolean no

Default: null

enable_multi_factor_auth
Enable multi-factor authentication
Boolean no

Default: null

preferred_session_length
Preferred session length
Integer no

Default: null

preferred_logout_all
Preferred logout all
Boolean no

Default: null

admin
Admin
Boolean no

Filter users with administrator privileges

Default: null

object_state
Object state
String no

Default: null

Validation rules
RuleDetails
Include

Allowed values:

  • active: Active
  • suspended: Suspended
  • soft_delete: Soft delete
  • hard_delete: Hard delete
  • deleted: Deleted

Validation error message: %{value} cannot be used

Output parameters

ParameterTypeDescription
id
User ID
Integer
login
Login
String
full_name
Full name
String First and last name
email
E-mail
String Administrator of this zone
address
Address
String
time_zone
Time zone
String IANA time zone identifier, e.g. Europe/Prague
level
Access level
Integer
info
Info
String
mailer_enabled
Enabled mailer
Boolean
password_reset
Password reset
Boolean
lockout
Lock-out
Boolean
language
Language of e-mails
Resource
enable_basic_auth
Enable HTTP basic authentication
Boolean
enable_token_auth
Enable token authentication
Boolean
enable_oauth2_auth
Enable OAuth2 authentication
Boolean
enable_single_sign_on
Enable single sign-on
Boolean
enable_new_login_notification
Enable new login notification
Boolean
enable_multi_factor_auth
Enable multi-factor authentication
Boolean
preferred_session_length
Preferred session length
Integer
preferred_logout_all
Preferred logout all
Boolean
last_activity_at
Last activity
Datetime
dokuwiki_groups
DokuWiki groups
String Comma-separated list of DokuWiki groups
created_at
Created at
Datetime
object_state
Object state
String
expiration_date
Expiration
Datetime A date after which the state will progress
remind_after_date
Remind after
Datetime Mail warnings are silenced until this date
monthly_payment
Monthly payment
Integer
paid_until
Paid until
Datetime

Show

Input parameters

No parameters.

Output parameters

ParameterTypeDescription
id
User ID
Integer
login
Login
String
full_name
Full name
String First and last name
email
E-mail
String Administrator of this zone
address
Address
String
time_zone
Time zone
String IANA time zone identifier, e.g. Europe/Prague
level
Access level
Integer
info
Info
String
mailer_enabled
Enabled mailer
Boolean
password_reset
Password reset
Boolean
lockout
Lock-out
Boolean
language
Language of e-mails
Resource
enable_basic_auth
Enable HTTP basic authentication
Boolean
enable_token_auth
Enable token authentication
Boolean
enable_oauth2_auth
Enable OAuth2 authentication
Boolean
enable_single_sign_on
Enable single sign-on
Boolean
enable_new_login_notification
Enable new login notification
Boolean
enable_multi_factor_auth
Enable multi-factor authentication
Boolean
preferred_session_length
Preferred session length
Integer
preferred_logout_all
Preferred logout all
Boolean
last_activity_at
Last activity
Datetime
dokuwiki_groups
DokuWiki groups
String Comma-separated list of DokuWiki groups
created_at
Created at
Datetime
object_state
Object state
String
expiration_date
Expiration
Datetime A date after which the state will progress
remind_after_date
Remind after
Datetime Mail warnings are silenced until this date
monthly_payment
Monthly payment
Integer
paid_until
Paid until
Datetime

Touch

Input parameters

No parameters.

Output parameters

No parameters.

Update

Input parameters

ParameterTypeRequiredDetails
login
Login
String no

Default: null

Validation rules
RuleDetails
Format

Must match this regular expression:

\A[a-zA-Z0-9.-]{2,63}\z

null

Validation error message: not a valid login

full_name
Full name
String no

First and last name

Default: null

email
E-mail
String no

Administrator of this zone

Default: null

address
Address
String no

Default: null

time_zone
Time zone
String no

IANA time zone identifier, e.g. Europe/Prague

Default: null

level
Access level
Integer no

Default: null

info
Info
String no

Default: null

mailer_enabled
Enabled mailer
Boolean no

Default: true

password_reset
Password reset
Boolean no

Default: null

lockout
Lock-out
Boolean no

Default: null

language
Language of e-mails
Resource no
enable_basic_auth
Enable HTTP basic authentication
Boolean no

Default: null

enable_token_auth
Enable token authentication
Boolean no

Default: null

enable_oauth2_auth
Enable OAuth2 authentication
Boolean no

Default: null

enable_single_sign_on
Enable single sign-on
Boolean no

Default: null

enable_new_login_notification
Enable new login notification
Boolean no

Default: null

enable_multi_factor_auth
Enable multi-factor authentication
Boolean no

Default: null

preferred_session_length
Preferred session length
Integer no

Default: null

preferred_logout_all
Preferred logout all
Boolean no

Default: null

password
Current password
String no

The password must be at least 8 characters long

Default: null

new_password
Password
String no

The password must be at least 8 characters long

Default: null

logout_sessions
Logout sessions
Boolean no

Logout all sessions except the current one when password is changed

Default: true

object_state
Object state
String no

Default: null

Validation rules
RuleDetails
Include

Allowed values:

  • active: Active
  • suspended: Suspended
  • soft_delete: Soft delete
  • hard_delete: Hard delete
  • deleted: Deleted

Validation error message: %{value} cannot be used

expiration_date
Expiration
Datetime no

A date after which the state will progress

Default: null

remind_after_date
Remind after
Datetime no

Mail warnings are silenced until this date

Default: null

change_reason
Reason
String no

Reason for the state change. May be mailed to the user.

Default: null

Output parameters

ParameterTypeDescription
id
User ID
Integer
login
Login
String
full_name
Full name
String First and last name
email
E-mail
String Administrator of this zone
address
Address
String
time_zone
Time zone
String IANA time zone identifier, e.g. Europe/Prague
level
Access level
Integer
info
Info
String
mailer_enabled
Enabled mailer
Boolean
password_reset
Password reset
Boolean
lockout
Lock-out
Boolean
language
Language of e-mails
Resource
enable_basic_auth
Enable HTTP basic authentication
Boolean
enable_token_auth
Enable token authentication
Boolean
enable_oauth2_auth
Enable OAuth2 authentication
Boolean
enable_single_sign_on
Enable single sign-on
Boolean
enable_new_login_notification
Enable new login notification
Boolean
enable_multi_factor_auth
Enable multi-factor authentication
Boolean
preferred_session_length
Preferred session length
Integer
preferred_logout_all
Preferred logout all
Boolean
last_activity_at
Last activity
Datetime
dokuwiki_groups
DokuWiki groups
String Comma-separated list of DokuWiki groups
created_at
Created at
Datetime

Subresources