cURL
curl --request POST \ --url https://lab.trustos.telefonicatech.com/id/v2/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "method": "POST", "endpoint": "/certificates" } '
{ "statusCode": 200, "message": "Token verified sucessfully", "data": "Valid token" }
Verifies the validity of a JWT (JSON Web Token) authentication token.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Data needed for verifying authN and authZ.
The endpoint's method.
"POST"
The endpoint's path.
"/certificates"
Successful token verification.
Request status code.
200
Message returned by the request.
"Token verified sucessfully"
Data returned by the request.
"Valid token"
Was this page helpful?