Delivery Settings - CrowdStrike/falconpy GitHub Wiki
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Get Delivery Settings. | ||||
|
Create Delivery Settings. |
Get Delivery Settings
get_delivery_settings
Method | Route |
---|---|
/delivery-settings/entities/delivery-settings/v1 |
- Produces: application/json
No keywords or arguments accepted.
from falconpy import DeliverySettings
falcon = DeliverySettings(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_delivery_settings()
print(response)
from falconpy import DeliverySettings
falcon = DeliverySettings(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.GetDeliverySettings()
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("GetDeliverySettings")
print(response)
Create Delivery Settings
create_delivery_settings
Method | Route |
---|---|
/delivery-settings/entities/delivery-settings/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
delivery_cadence |
|
|
body | string | Delivery schedule. |
delivery_type |
|
|
body | string | Delivery type. |
from falconpy import DeliverySettings
falcon = DeliverySettings(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_delivery_settings(delivery_cadence="string", delivery_type="string")
print(response)
from falconpy import DeliverySettings
falcon = DeliverySettings(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.PostDeliverySettings(delivery_cadence="string", delivery_type="string")
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
body_payload = {
"delivery_settings": [
{
"delivery_cadence": "string",
"delivery_type": "string"
}
]
}
response = falcon.command("PostDeliverySettings", body=body_payload)
print(response)