@Lily You can refer to add the operation for details and I have defined name
parameter in my URL as below
In your policy you can use context.Request context.Request.MatchedParameters.GetValueOrDefault("name")
and according to your requirement you can use rewrite URL or as per your requirement.