Skip to navigation

Log in With Username and Password (v3)

View as Markdown

Logs a user in to the Megaport Portal when they supply a valid username and password.

This endpoint is called to log an existing user into the system. The endpoint can accept either an encoded password or a plain text password. If multi-factor authentication is enabled on the account, then a valid oneTimePassword value must be provided.

Note: If you receive error code 409 Conflict in a response when using this endpoint, it means that the user’s email address has not yet been verified. The email address will need to be verified first using the instructions in the Setting Up a Megaport Account section of the Megaport documentation. For more information, see Setting Up a Megaport Account.

Request

This endpoint expects an object.
passwordstringOptional
usernamestringOptional

Response

Log in With Username and Password - Success Response / Log in With Username and Password - Success Response

dataobjectOptional
messagestringOptional
termsstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error