Authentication
Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/Auth/Login' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"email": "email@domain.com",
"password": "putPasswordHere"
}'

  • email that are registered and active in MCP.
  • password that are registered and active in MCP.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/Auth/ChangePassword' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"email": "email@domain.com",
"currentPassword": "putPasswordHere",
"newPassword": "putNewPasswordHere",
"confirmNewPassword": "putNewPasswordHere"
}'

  • email that are registered and active in MCP.
  • currentPassword the previous random string / password.
  • newPassword the new password.
  • confirmNewPassword confirm / retype the new password.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/Auth/Logout' \
-H 'accept: */*' \
-H 'Authorization: Bearer putAccessTokenHere' \
-d ''