Codevisor Server
Api reference

Issue a pairing token

Issue a bearer token from a trusted localhost connection, then use it to authenticate remote requests.

POST/v1/auth/pairing-token

Issue a bearer token from a trusted localhost connection, then use it to authenticate remote requests.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/auth/pairing-token"
{  "token": "string",  "createdAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}