curl --request POST \
--url https://api.projectdiscovery.io/v1/scans/config \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"config": "<string>",
"name": "<string>",
"config_type": "scan",
"global": true,
"oauth_config_id": "<string>"
}
'