Ending 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 command.

REST Syntax

Click to view all REST Resources
Session/ DELETE — Ends an API session.

HTTP Action — DELETE

URI — https://api.dynect.net/REST/Session/

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
SessionLogout — Ends an API session.

Arguments:

string tokenRequired. The session identifier.

Response:

Not Applicable.

Example Request — Click for More Info