Remove Domain

POST /wp-json/slswc/v1/remove_domain

Remove a domain from a license. This will remove the domain from the list of activated domains for the license.

ParameterDatatypeExampleDescription
ParameterDatatypeExampleDescription
license_keyString requiredSs23dhsjhdjshjhfddfrThe license key to be activated. This must be a valid.
slugString requiredtestpluginThe slug of the software. This must be a valid slug unique to each software product
domainString optionalexample.comThe domain the license is activated on.
environmentString optionalliveThe server environment the license is activated on. Expects live or staging, default live
 

Example Response

{
	"status": "ok",
	"message": "Domain removed from license."
    "domains": {
        "example.com": {
            "domain": "example.com",
            "status": "",
            "version": "",
            "date_time": "2019-06-22 00:00",
            "environment": ""
		},
	}
}
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Scroll to Top