User update
Update existing users to have better user observability.
You can update user’s name and email on the platform. Go to the Users page and click on the user you want to update. Type user’s name and email in the corresponding fields.
Update users through API
url = "https://api.keywordsai.co/api/user/update/some_customer_identifier"
import requests
url = "https://api.keywordsai.co/api/user/update/some_customer_identifier" #replace with the actual customer_identifier to update
api_key = "YOUR_KEY" # Replace with your actual Keywords AI API key
data = {
"name": "John Doe",
"period_budget": 30
# Add other parameters here
}
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.patch(url, headers=headers, json=data)
print(response.json())