Understanding How The API Works »
Updating the DDNS service’s UpdateUser using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
REST Syntax
Click to view all REST Resources |
/REST/UpdateUser/ PUT — Updates the DDNS service’s UpdateUser information. Only those fields specified will be updated.
HTTP Action — PUT
URIs — https://api.dynect.net/REST/UpdateUser/<user_name>/
NOTE: The username must be specified in the URI.
|
Arguments:
If blocking or unblocking a user, only that argument can be specified.
- string
block — Blocks a user from logging in.
- string
unblock — Restores a user to an active status.
- string
password — The user’s password.
|
Response:
- array
group_name — A list of permission groups where this user belongs.
- string
status — Current status of the user.
- string
user_name — The user’s system username; used for logging in.
|
SOAP Syntax
Click to view all SOAP Commands |
UpdateUpdateUser — Updates the DDNS service’s UpdateUser information. Only those fields specified will be updated.
|
Arguments:
- string
nickname — Required. The username of the UpdateUser.
- string
password — Required. The new password to set for the UpdateUser
- string
token — Required. The session identifier.
|
Response:
- hash data
- array
group_name — A list of permission groups where this user belongs.
- string
status — Current status of the user.
- string
user_name — The user’s system username; used for logging in.
|
Example Request — Click for More Info
{
'user_name' => 'updateuser1',
'password' => 'thepass',
'token' => 'asdlkfjasl23j4879afa',
}
|
DNS API Knowledge Base