cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

IP & Network → Return shared IP address

AI-generated

Summary

Return the shared IP address associated with a specified WHM user or, if not provided, the currently-authenticated user.

Inputs

  • User — The WHM user's username to get the shared IP address for. Defaults to the currently-authenticated user if not specified.

Output shape

a single object containing the shared IP address details for the specified user

Returns the shared IP data as provided by the WHM API. The 'User' parameter is optional and defaults to the authenticated user; no pagination applies.

Links

Discussion