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.
REST Syntax
Click to view all REST Resources |
Session/ POST – Starts an API Session HTTP Action – POST URI – https://api.dynect.net/REST/Session/ |
Arguments:
string string string |
Response:
NOTE: The value of the token field must be passed as the HTTP header Auth-Token for all subsequent requests. string string |
SOAP Syntax
Click to view all SOAP Commands |
SessionLogin – Starts a new API Session. |
Arguments:
string string string |
Response:
NOTE: The token field will be used for all subsequent requests.
|
Example Request — Click for More Info |