Resources for HTTP basic authentication type

This endpoint is used to create synthetic resources for HTTP basic type of authentication.

Leave Feedback


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.
Example: http, https, ftp, and so on.
urlStringURL of the synthetic.
locationUuidsStringArray of UUIDs of locations you want to bind.
  • securityLevel
  • userName
  • password
StringSpecifies the credentials. Examples:
  • securityLevel: basic
  • userName
  • password

Sample request

	  "checkType" : "HTTP",
	  "resourceName" : "Indian",
	  "url" : "",
	  "credential" :{
	    "securityLevel" : "basic",
	    "userName" : "s1234",
	    "password" : "s1234"
	  "locationUuids" :
	  [ "7b77f37f-5eb0-4ec2-bd19-15cc6853e3ca"]  

Sample response

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