escapeUrl() escapeUrl(string $string) : string Leave the URL as it is /v1/people/~:(id,email-address,formatted-name) Do not escape the brackets Parameters string $string Returns string