Disable / Enable Card


JSON data ENABLE / DSIABLE CARD

To disable or enable any of the Card for existing User

POST URL
https://api.nuveq.cloud/api/

BODY JSON
Name TYPE DESCRIPTION REQUIRED

port

STRING

1106

api_id

NUMBER (INT)

can retrive data on Nuveq Portal user setting

enable

NUMBER

1 for enable, 0 for disable

card_id

NUMBER (INT)

can retrive data - Get User Detail API

token_key

NUMBER (INT)

can retrive data on Nuveq Portal user setting

BODY JSON STRING
{"port":STRING,"api_id":NUMBER, "enable":NUMBER, "cards": [{"card_id":NUMBER}, {"card_id":NUMBER}], "token_key":"__API_KEY__"}
JSON Return Data:
data {
"Selected Credential Status is Updated"
}

ERROR RETURN
ERROR STRING FIELD API DESCRIPTION

one of the Site not found

user_id

this user id dont have site setup

enable is NULL

enable

Enable is empty