POST
/
card
curl --request POST \
  --url https://development.knotapi.com/card \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task_id": "123456",
  "jwe": "ey..."
}'
{
  "message": "Success"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The input parameters required for switching a card.

The body is of type object.

Response

200
application/json
Successful request.

The response is of type object.