End of Life Products and Features - admin.save
Description
Save a new system admin or save changes to an existing system admin.
Arguments
name | required | value type | default value |
---|---|---|---|
fullname | no | string | none |
username | yes | string | none |
no | string | none | |
language | no | language code | none |
password | yes, if new | Object containing 'password1' and 'password2' which must match | none |
Example Requests & Responses
Example One
Request
Save a new system admin or save changes to an existing system admin.
{
'method' => 'admin.save',
'parameters' => {
'email' => 'default.admin@invalid.tld',
'language' => 'en_us',
'password' => {
'password2' => 'asdfasdf',
'password1' => 'asdfasdf'
},
'fullname' => 'Default Admin',
'username' => 'admin'
}
} |
Response
{
'result' => 'success'
} |
Or
{
'result' => 'error',
'error' => 'An Error String',
'error_key' => 'AN_ERROR_LANGUAGE_KEY',
} |
Related content
End of Life Products and Features - update.save
End of Life Products and Features - update.save
More like this
End of Life Products and Features - tech_support.save
End of Life Products and Features - tech_support.save
More like this
End of Life Products and Features - admin.delete
End of Life Products and Features - admin.delete
More like this
End of Life Products and Features - factory_reset.save
End of Life Products and Features - factory_reset.save
More like this
End of Life Products and Features - access_control.save
End of Life Products and Features - access_control.save
More like this
End of Life Products and Features - t1_e1_settings.save
End of Life Products and Features - t1_e1_settings.save
More like this