Skip to content

Instantly share code, notes, and snippets.

View alecrajeev's full-sized avatar

Alec Rajeev alecrajeev

View GitHub Profile
@alecrajeev
alecrajeev / add_account_v3.py
Last active January 23, 2018 03:29 — forked from dancaps/add_account_v3.py
Why is this not working?
import requests
import json
# add the Admin API access key where it says access key in the headers value
cc_api_url = 'https://api.cloudcheckr.com/api/account.json/add_account_v3'
headers = {'Content-Type': 'application/json', 'access_key': ''}
params = {'account_name': 'test_account'}