Establishing a session in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your session command.
NOTE: DynID and Managed DNS credentials are independent of one another. A DynID will never be the same as a Managed DNS user_name
.
- Find or change your Managed DNS API credentials.
- Reset your DynID password.
- Reset your Managed DNS password as an account administrator.
WARNING: Operating on the same resource (e.g. the same hostname or instance of a service) from more than one session at the same time may cause unexpected behavior, such as unintentional service changes or the inability to propagate new zone changes.
Understanding How The API Works »
REST Syntax | Associated API Topics |
SOAP Syntax | Session Keep Alive |
Session Active | |
Session Log Out |
REST Syntax
Click to view all REST Resources |
Session/ POST - Starts an API SessionHTTP Action - POSTURI - https://api.dynect.net/REST/Session/ |
Arguments:string customer_name -- Required. Your customer name.string user_name -- Required. Your user name.string password -- Required. Your password. |
Response:NOTE: The value of the token field must be passed as the HTTP header Auth-Token for all subsequent requests.string token -- The session token (to be passed in via the Auth-Token HTTP header)string version -- The API protocol version that handled this request |
SOAP Syntax
Click to view all SOAP Commands |
SessionLogin - Starts a new API Session. |
Arguments:string customer_name -- Required. Your customer name.string user_name -- Required. Your user name.string password -- Required. Your password. |
Response:NOTE: The token field will be used for all subsequent requests.
|
Example Request -- Click for More Info |