Skip to content

Kirby 5.0.1

$user->apiUrl()

Returns the url to the api endpoint

$user->apiUrl(bool $relative = false): string

Parameters

Name Type Default
$relative bool false

Return type

string

Parent class

Kirby\Cms\User