$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
Returns the url to the api endpoint
$user->apiUrl(bool $relative = false): string
| Name | Type | Default |
|---|---|---|
| $relative | bool |
false |
string