Return cPanel Store or cPanel Market login URL

This function retrieves the login URL for the cPanel Store or a cPanel Market provider.

SecurityBasicAuth
Request
query Parameters
provider
required
string

The cPanel Store or cPanel Market provider's name.

Example: provider=cPStore
url_after_login
required
string <url>

The location to which the cPanel Store or cPanel Market provider redirects the user's browser after they log in.

Example: url_after_login=http://hostname.example.com/redirectionlocation.cgi?state
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_login_url
Request samples
whmapi1 --output=jsonpretty \
  get_login_url \
  provider='cPStore' \
  url_after_login='http://hostname.example.com/redirectionlocation.cgi?state'