It should be the following one based on their documentation:
curl -k -L https://api.xively.com/v2/devices/ACTIVATION_CODE/activate -H "X-ApiKey: API_KEY_HERE"
Change ACTIVATION_CODE
and API_KEY_HERE
from the above url.
If you have problem with running the command, run it with adding -v
option. And show us the verbose printout.