Generates and returns a non-expiring JSON Web Token for the authenticated user. Allows to restrict the scope of the token by a list of permissions. Used for integration purposes.
Information: The request header must contain real credentials (i.e. not just a session cookie).
{- "data": {
- "permissions": [
- "CUSTOMER_ADD",
- "CUSTOMER_FETCH"
]
}
}
{- "response": {
- "node": "string",
- "csrfToken": "string",
- "data": [
- { }
], - "status": 0
}
}