Geneate user's JWT token
self-hostedGET/v2/administration/users/:userId/generate-token
Generates a JWT token for the user with provided ID. This is useful, when need to debug of the user's account. Or when an operation is required to be executed on behalf of the user.
Request
Path Parameters
userId int64required
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
Schema
string
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...