Create a new subject token.
Create a new subject token for the use of impersonating the user.
        POST
    /api/subject-tokens
  
  curl \
 --request POST 'https://[tenant_id].logto.app/api/subject-tokens' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"userId":"string","context":{}}'
        Request examples
  
  {
  "userId": "string",
  "context": {}
}
        Response examples (201)
  
  {
  "subjectToken": "string",
  "expiresIn": 42.0
}