CrowdStrike Falcon CrowdStrike Subreddit

Using the Sample Uploads service collection

Uber class support Service class support Documentation Version Page Updated Samples Available

This service collection has code examples posted to the repository.

Table of Contents

Operation IDDescription
ArchiveListV1
PEP8list_archive
Retrieves the archives files in chunks.
ArchiveGetV1
PEP8get_archive
Retrieves the archives upload operation statuses. Status done means that archive was processed successfully. Status error means that archive was not processed successfully.
ArchiveUploadV1
PEP8upload_archive_v1
DEPRECATED
Uploads an archive and extracts files list from it. Operation is asynchronous use ArchiveGet to check the status. After uploading, use ExtractionCreateV1 to copy the file to internal storage making it available for content analysis.
ArchiveDeleteV1
PEP8delete_archive
Delete an archive that was uploaded previously
ArchiveUploadV2
PEP8upload_archive
Uploads an archive and extracts files list from it. Operation is asynchronous use ArchiveGet to check the status. After uploading, use ExtractionCreateV1 to copy the file to internal storage making it available for content analysis.
ExtractionListV1
PEP8list_extraction
Retrieves the files extractions in chunks. Status done means that all files were processed successfully. Status error means that at least one of the file could not be processed.
ExtractionGetV1
PEP8get_extraction
Retrieves the files extraction operation statuses. Status done means that all files were processed successfully. Status error means that at least one of the file could not be processed.
ExtractionCreateV1
PEP8create_extraction
Extracts files from an uploaded archive and copies them to internal storage making it available for content analysis.
GetSampleV3
PEP 8get_sample
Retrieves the file associated with the given ID (SHA256).
UploadSampleV3
PEP 8upload_sample
Upload a file for further cloud analysis. After uploading, call the specific analysis API endpoint.
DeleteSampleV3
PEP 8delete_sample
Removes a sample, including file, meta and submissions from the collection.

Passing credentials

WARNING

client_id and client_secret are keyword arguments that contain your CrowdStrike API credentials. Please note that all examples below do not hard code these values. (These values are ingested as strings.)

CrowdStrike does not recommend hard coding API credentials or customer identifiers within source code.

ArchiveListV1

Retrieves the archives files in chunks.

PEP8 method name

list_archive

Endpoint

MethodRoute
GET/archives/entities/archive-files/v1

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringThe archive SHA256.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
limit
Service Class Support

Uber Class Support
queryintegerMaximum number of files to retrieve. (Default: 100)
offset
Service Class Support

Uber Class Support
querystringOffset from where to retrieve files.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.list_archive(id="string",
                               limit=integer,
                               offset="string"
                               )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ArchiveListV1(id="string",
                                limit=integer,
                                offset="string"
                                )

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ArchiveListV1",
                          id="string",
                          limit=integer,
                          offset="string"
                          )

print(response)

Back to Table of Contents

ArchiveGetV1

Retrieves the archives upload operation statuses. Status done means that archive was processed successfully. Status error means that archive was not processed successfully.

PEP8 method name

get_archive

Endpoint

MethodRoute
GET/archives/entities/archives/v1

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringThe archive SHA256.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
include_files
Service Class Support

Uber Class Support
querybooleanIf true includes processed archive files in response.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.get_archive(id="string", include_files=boolean)

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ArchiveGetV1(id="string", include_files=boolean)

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ArchiveGetV1", id="string", include_files="string")

print(response)

Back to Table of Contents

ArchiveUploadV1

Uploads an archive and extracts files list from it. Operation is asynchronous use ArchiveGetV1 to check the status. After uploading, use ExtractionCreateV1 to copy the file to internal storage making it available for content analysis.

DEPRECATED This method is deprecated in favor of ArchiveUploadV2.

PEP8 method name

archive_upload_v1

Endpoint

MethodRoute
POST/archives/entities/archives/v1

Content-Type

  • Consumes: application/octet-stream
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryContent of the uploaded archive in binary format. The keywords file_data, sample, and upfile will also be accepted for this argument. Max file size: 100 MB. Accepted file formats:
  • zip
  • 7z
comment
Service Class Support

Uber Class Support
querystringA descriptive comment to identify the file for other users.
is_confidential
Service Class Support

Uber Class Support
querybooleanDefines visbility of this file, either via the API or the Falcon console.
  • true: File is only show to users within your customer account
  • false: File can be seen by other CrowdStrike customers
Defaults to true.
name
Service Class Support

Uber Class Support
querystringName of the archive.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
password
Service Class Support

Uber Class Support
querystringArchive password.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.ArchiveUploadV1(name="string",
                                  password="string",
                                  is_confidential=boolean,
                                  comment="string",
                                  file_data=PAYLOAD
                                  )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.ArchiveUploadV1(name="string",
                                  password="string",
                                  is_confidential=boolean,
                                  comment="string",
                                  file_data=PAYLOAD
                                  )

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.command("ArchiveUploadV1",
                          name="string",
                          password="string",
                          is_confidential=boolean,
                          comment="string",
                          file_data=PAYLOAD
                          )

print(response)

Back to Table of Contents

ArchiveDeleteV1

Delete an archive that was uploaded previously

PEP8 method name

delete_archive

Endpoint

MethodRoute
DELETE/archives/entities/archives/v1

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringThe archive SHA256.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.delete_archive(id="string")

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ArchiveDeleteV1(id="string")

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ArchiveDeleteV1", id="string")

print(response)

Back to Table of Contents

ArchiveUploadV2

Uploads an archive and extracts files list from it. Operation is asynchronous use ArchiveGet to check the status. After uploading, use ExtractionCreateV1 to copy the file to internal storage making it available for content analysis.

PEP8 method name

upload_archive

Endpoint

MethodRoute
POST/archives/entities/archives/v2

Content-Type

  • Consumes: multipart/form-data
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
file_data
Service Class Support

Uber Class Support
formDatadictionaryContent of the uploaded archive in binary format. The keywords archive and file will also be accepted for this argument. Max file size: 100 MB. Accepted file formats:
  • zip
  • 7z
comment
Service Class Support

Uber Class Support
formDatastringA descriptive comment to identify the file for other users.
is_confidential
Service Class Support

Uber Class Support
formDatabooleanDefines visbility of this file, either via the API or the Falcon console.
  • true: File is only show to users within your customer account
  • false: File can be seen by other CrowdStrike customers
Defaults to true.
file_type
Service Class Support

Uber Class Support
querystringArchive format, either zip or 7zip. Defaults to zip.
name
Service Class Support

Uber Class Support
formDatastringName of the archive.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
password
Service Class Support

Uber Class Support
formDatastringArchive password.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = "archive.ext"
with open(FILENAME, "rb") as archive_payload:
    PAYLOAD = archive_payload.read()

response = falcon.upload_archive(file_data=PAYLOAD,
                                 comment="string",
                                 is_confidential=boolean,
                                 file_type="string",
                                 name="string",
                                 password="string"
                                 )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = "archive.ext"
with open(FILENAME, "rb") as archive_payload:
    PAYLOAD = archive_payload.read()

response = falcon.ArchiveUploadV2(file_data=PAYLOAD,
                                  comment="string",
                                  is_confidential=boolean,
                                  file_type="string",
                                  name="string",
                                  password="string"
                                  )

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

FILENAME = "archive.ext"
with open(FILENAME, "rb") as archive_payload:
    PAYLOAD = archive_payload.read()

response = falcon.command("ArchiveUploadV2",
                          file_data=PAYLOAD,
                          comment="string",
                          is_confidential=boolean,
                          file_type="string",
                          name="string",
                          password="string"
                          )

print(response)

Back to Table of Contents

ExtractionListV1

Retrieves the files extractions in chunks. Status done means that all files were processed successfully. Status error means that at least one of the file could not be processed.

PEP8 method name

list_extraction

Endpoint

MethodRoute
GET/archives/entities/extraction-files/v1

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringThe extraction operation ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
limit
Service Class Support

Uber Class Support
queryintegerMaximum number of files to retrieve. (Default: 100)
offset
Service Class Support

Uber Class Support
querystringOffset from where to retrieve files.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.list_extraction(id="string",
                                  limit=integer,
                                  offset="string"
                                  )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ExtractionListV1(id="string",
                                   limit=integer,
                                   offset="string"
                                   )

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ExtractionListV1",
                          id="string",
                          limit=integer,
                          offset="string"
                          )

print(response)

Back to Table of Contents

ExtractionGetV1

Retrieves the files extraction operation statuses. Status done means that all files were processed successfully. Status error means that at least one of the file could not be processed.

PEP8 method name

get_extraction

Endpoint

MethodRoute
GET/archives/entities/extractions/v1

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringThe extraction operation ID.
include_files
Service Class Support

Uber Class Support
querybooleanIf true, includes processed archive files in response.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.get_extraction(id="string", include_files=boolean)

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ExtractionGetV1(id="string", include_files=boolean)

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ExtractionGetV1", id="string", include_files=boolean)

print(response)

Back to Table of Contents

ExtractionCreateV1

Extracts files from an uploaded archive and copies them to internal storage making it available for content analysis.

PEP8 method name

create_extraction

Endpoint

MethodRoute
POST/archives/entities/extractions/v1

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
extract_all
Service Class Support

Uber Class Support
bodybooleanFlag indicating if all files should be extracted.
files
Service Class Support

Uber Class Support
bodylist of dictionariesList of files to be extracted from the archive. Each dictionary will contain three keys, comment (string), is_confidential (boolean), and name (string).
sha256
Service Class Support

Uber Class Support
bodystringSHA256 of the archive.

Usage

Service class example (PEP8 syntax)
from falconpy.sample_uploads import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_list = [{
    "comment": "string",
    "is_confidential": boolean,
    "name": "string"
}]

response = falcon.create_extraction(extract_all=boolean,
                                    files=file_list,
                                    sha256="string"
                                    )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_list = [{
    "comment": "string",
    "is_confidential": boolean,
    "name": "string"
}]

response = falcon.ExtractionCreateV1(extract_all=boolean,
                                     files=file_list,
                                     sha256="string"
                                     )

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )
file_list = [{
    "comment": "string",
    "is_confidential": boolean,
    "name": "string"
}]

BODY = {
    "extract_all": boolean,
    "files": file_list,
    "sha256": "string"
}

response = falcon.command("ExtractionCreateV1", body=BODY)

print(response)

Back to Table of Contents

GetSampleV3

Retrieves the file associated with the given ID (SHA256)

PEP8 method name

get_sample

Endpoint

MethodRoute
GET/samples/entities/samples/v3

Content-Type

  • Produces: application/octet-stream

Keyword Arguments

NameServiceUberTypeData typeDescription
ids
Service Class Support

Uber Class Support
querystringThe file SHA256.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
password_protected
Service Class Support

Uber Class Support
querybooleanFlag whether the sample should be zipped and password protected with the password infected.

Usage

Service class example (PEP8 syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

save_file = "some_file.ext"

response = falcon.get_sample(password_protected=boolean, ids=file_sha)
open(save_file, 'wb').write(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

save_file = "some_file.ext"

response = falcon.GetSampleV3(password_protected=boolean, ids=file_sha)
open(save_file, 'wb').write(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

save_file = "some_file.ext"

response = falcon.command("GetSampleV3", password_protected=boolean, ids=file_sha)
open(save_file, 'wb').write(response)

Back to Table of Contents

UploadSampleV3

Upload a file for further cloud analysis. After uploading, call the specific analysis API endpoint.

PEP8 method name

upload_sample

Endpoint

MethodRoute
POST/samples/entities/samples/v3

Content-Type

  • Consumes: multipart/form-data
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
comment
Service Class Support

Uber Class Support
formDatastringA descriptive comment to identify the file for other users.
data
Service Class Support

Uber Class Support
formDatafileContent of the uploaded sample in binary format. Max file size: 256 MB. Accepted file formats:
  • Portable executables: .exe, .scr, .pif, .dll, .com, .cpl, etc.
  • Office documents: .doc, .docx, .ppt, .pps, .pptx, .ppsx, .xls, .xlsx, .rtf, .pub
  • PDF
  • APK
  • Executable JAR
  • Windows script component: .sct
  • Windows shortcut: .lnk
  • Windows help: .chm
  • HTML application: .hta
  • Windows script file: .wsf
  • Javascript: .js
  • Visual Basic: .vbs, .vbe
  • Shockwave Flash: .swf
  • Perl: .pl
  • Powershell: .ps1, .psd1, .psm1
  • Scalable vector graphics: .svg
  • Python: .py
  • Linux ELF executables
  • Email files: MIME RFC 822 .eml, Outlook .msg.
is_confidential
Service Class Support

Uber Class Support
formDatabooleanDefines visibility of this file in Falcon MalQuery, either via the API or the Falcon console.
  • true: File is only shown to users within your customer account
  • false: File can be seen by other CrowdStrike customers
Default: true.
file_data
or
sample
or
upfile

Service Class Support

Uber Class Support
formDatafileContent of the uploaded sample in binary format. Max file size: 256 MB. Accepted file formats:
  • Portable executables: .exe, .scr, .pif, .dll, .com, .cpl, etc.
  • Office documents: .doc, .docx, .ppt, .pps, .pptx, .ppsx, .xls, .xlsx, .rtf, .pub
  • PDF
  • APK
  • Executable JAR
  • Windows script component: .sct
  • Windows shortcut: .lnk
  • Windows help: .chm
  • HTML application: .hta
  • Windows script file: .wsf
  • Javascript: .js
  • Visual Basic: .vbs, .vbe
  • Shockwave Flash: .swf
  • Perl: .pl
  • Powershell: .ps1, .psd1, .psm1
  • Scalable vector graphics: .svg
  • Python: .py
  • Linux ELF executables
  • Email files: MIME RFC 822 .eml, Outlook .msg.
file_name
Service Class Support

Uber Class Support
formDatastringName to use for the file. Uses current file name if not specified.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.upload_sample(sample=PAYLOAD,
                                file_name="string",
                                comment='string',
                                is_confidential=boolean
                                )

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.UploadSampleV3(file_data=PAYLOAD,
                                 file_name="string",
                                 comment='string',
                                 is_confidential=boolean
                                 )

print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

FILENAME = 'test_file.ext'
PAYLOAD = open(FILENAME, 'rb').read()

response = falcon.command("UploadSampleV3",
                          data=PAYLOAD,
                          file_name="string",
                          comment="string",
                          is_confidential=boolean,
                          content_type="application/octet-stream"
                          )

print(response)

Back to Table of Contents

DeleteSampleV3

Removes a sample, including file, meta and submissions from the collection

PEP8 method name

delete_sample

Endpoint

MethodRoute
DELETE/samples/entities/samples/v3

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
ids
Service Class Support

Uber Class Support
querystringThe file SHA256 of the file to delete.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

response = falcon.delete_sample(ids=file_sha)

print(response)
Service class example (Operation ID syntax)
from falconpy import SampleUploads

# Do not hardcode API credentials!
falcon = SampleUploads(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

response = falcon.DeleteSampleV3(ids=file_sha)

print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

file_sha = "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c"

response = falcon.command("DeleteSampleV3", ids=file_sha)

print(response)

Back to Table of Contents