curl --request POST \
--url https://{tenant}/tyk/keys/create \
--header 'Content-Type: application/json' \
--header 'X-Tyk-Authorization: <api-key>' \
--data '
{
"access_rights": {},
"alias": "portal-developer@example.org",
"allowance": 1000,
"apply_policies": [
"641c15dd0fffb800010197bf"
],
"apply_policy_id": "641c15dd0fffb800010197bf",
"basic_auth_data": {
"hash_type": "<string>",
"password": "<string>"
},
"certificate": "<string>",
"data_expires": 0,
"date_created": "2024-03-13T03:56:46.568042549Z",
"enable_detail_recording": false,
"enable_detailed_recording": true,
"enable_http_signature_validation": false,
"expires": 1712895619,
"hmac_enabled": false,
"hmac_string": "<string>",
"id_extractor_deadline": 123,
"is_inactive": false,
"jwt_data": {
"secret": "<string>"
},
"last_check": 0,
"last_updated": "1710302206",
"max_query_depth": -1,
"meta_data": {
"tyk_developer_id": "62b3fb9a1d5e4f00017226f5"
},
"monitor": {
"trigger_limits": [
80,
60,
50
]
},
"oauth_client_id": "<string>",
"oauth_keys": {},
"org_id": "5e9d9544a1dcd60001d0ed20",
"per": 5,
"quota_max": 20000,
"quota_remaining": 20000,
"quota_renewal_rate": 31556952,
"quota_renews": 1710302205,
"rate": 1,
"rsa_certificate_id": "<string>",
"session_lifetime": 0,
"smoothing": {
"delay": 123,
"enabled": true,
"step": 123,
"threshold": 123,
"trigger": 123
},
"tags": [
"edge",
"edge-eu"
],
"throttle_interval": 10,
"throttle_retry_limit": 1000
}
'