Updating your password in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
Understanding How The API Works »
REST Syntax
Click to view all REST Resources |
Password/ PUT— Update your own password.
HTTP Action — PUT
URI — https://api.dynect.net/REST/Password/
|
Arguments:
string password — Required. The new password to use.
|
Response — Click for More Info
- string
address — The user’s street address.
- string
address_2 — The user’s street address, line 2.
- string
city — The user’s city, part of the user’s address.
- string
country — The user’s country, part of the user’s address.
- string
email — The user’s email address.
- string
fax — The user’s fax number.
- string
first_name — First name of the user.
- string
last_name — Last name of the user.
- string
nickname — The nickname for the contact associated with the user .
- string
notify_email — Email address at which the user should receive notifications.
- string
pager_email — Email address at which the user should receive messages destined for a pager.
- string
organization — The user’s organization.
- string
phone The user’s phone number. A phone number can have the form:
( 0 ) ( country-code ) ( local number ) ( ext extension )
Only the country-code (1-3 digits) and local number (at least 7 digits) are required. The extension can be up to 4 digits. Any non-digits are ignored.
- string
post_code The user’s postal (zip) code, part of the user’s address.
- array
group_name — A list of permission groups where this user is a member.
- string
status — Current status of the user, values are ‘blocked’ or ‘active’.
- string
user_name — The user’s system username; used for logging in.
- string
website — The URL of the user’s website.
|
SOAP Syntax
Click to view all SOAP Commands |
UpdateUserPassword — Update your own password.
|
Arguments:
string password — Required. The new password to use.
string token — Required. The session identifier.
|
Response — Click for More Info
- hash
data
- string
address — The user’s street address.
- string
address_2 — The user’s street address, line 2.
- string
city — The user’s city, part of the user’s address.
- string
country — The user’s country, part of the user’s address.
- string
email — The user’s email address.
- string
fax — The user’s fax number.
- string
first_name — First name of the user.
- string
last_name — Last name of the user.
- string
nickname — The nickname for the contact associated with the user .
- string
notify_email — Email address at which the user should receive notifications.
- string
pager_email — Email address at which the user should receive messages destined for a pager.
- string
organization — The user’s organization.
- string
phone The user’s phone number. A phone number can have the form:
( 0 ) ( country-code ) ( local number ) ( ext extension )
Only the country-code (1-3 digits) and local number (at least 7 digits) are required. The extension can be up to 4 digits. Any non-digits are ignored.
- string
post_code The user’s postal (zip) code, part of the user’s address.
- array
group_name — A list of permission groups where this user is a member.
- string
status — Current status of the user, values are ‘blocked’ or ‘active’.
- string
user_name — The user’s system username; used for logging in.
- string
website — The URL of the user’s website.
|
Example Request — Click for More Info
{
'password'=>'thepass',
'token'=> 'zaq12wsxcDe34rf89gt56nh',
}
|
DNS API Knowledge Base