POST https://{api-url}/api/v2/tenants/{tenantId}/resources

Sample URLs



All fields are mandatory:

FieldData TypeDescription
hostName/resourceNameStringName of the host.
resourceTypeStringType of resource. Use SYNTHETIC for synthetic.
checkTypeStringSpecifies the category type.
Examples: http, https, and ftp.
urlStringURL of the synthetic.
locationUuidsStringArray of UUIDs of locations you want to bind.
scriptString(Optional) Use this text only if the checkType is set to SCRIPT.
  • For Python script: seleniumPython
  • For JSON script obtained from Selenium IDE: seleniumJsonScript

Sample request

  "checkType" : "SCRIPT",
  "resourceName" : "This is Script2",
  "script" : "Yourscript",
  "locationUuids" :
   [ "223087d3-ef45-4efd-9587-0b20ad8ca355",

Sample response

	"resourceUUID": "612acfb0-6890-4d52-950b-1c4ec17a7248",
	"tenantID": "client_5"