Login
Login a user.
Endpoint
POST https://yourdomain.com/{context}/index.cfm/_api/json/v1/{siteid}/login/?username={username}&password={password}
OR
POST https://yourdomain.com/{context}/index.cfm/_api/json/v1/?method=login&siteid={siteid}&username={username}&password={password}
Request & Query Parameters
Parameter | Value |
---|---|
context | The path to where Mura CMS resides within the webroot (typically, an empty string). |
siteid | The SiteID of the site attempting to login to. |
username | The User's username. |
password | The User's password. |
Example Response
{ "data": { "status": "success" } }
data object
Key | Value Type | Value Description |
---|---|---|
status | string | success or failed , depending on the result of the attempt to login. |
History
Added in version 6.2