Create a session with username and password.
Account logged in.
Unauthorized access, invalid credentials were used.
{- "username": "string",
- "password": "string"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "token": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "expiredTime": "2019-08-24T14:15:22Z"
}
Destroys the user's current session.
Account logget out.
Unauthorized access, invalid credentials were used.
curl -i -X POST \ https://api-sandbox.rebilly.com/storefront/logout \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "status": 401,
- "title": "string",
- "detail": "string",
- "instance": "string"
}