Skip to main content
POST
Create a login link

Authorizations

Authorization
string
header
required

An API token from API tokens in the console, sent as Authorization: Bearer pgapi_.... It works for one billing account, and its permissions decide which endpoints it may call.

Path Parameters

service
string
required

Body

application/json
login
enum<string> | null

Where a login link to a service leads: its hosting panel (panel), or webmail on cPanel (webmail).

Available options:
panel,
webmail

Response

data
object
required