Decode JWT.
POST/generate/jsonwebtoken/decode
Decode JWT.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
tokenstringrequired
verifyboolean
Whether to verify the JWT. This requires secret. Default is false.
secretstring
The HMAC secret or PEM-encoded public key.
options object
algorithmsstring[]
The signature algorithms that should be accepted. By default, all algorithms are accepted.
Possible values: [HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, none]
Responses
- 200
- 400
Success
- application/json
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}