# RequestContext.Remove(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Runtime/RequestContext.cs#L124-L148)

```csharp
public static bool Remove(string key)
```

Remove a value from the request context.

### Parameters

- `key` (`string`): The key for the value to be removed.

### Returns

`true` if the value was previously in the request context and has now been removed, otherwise `false`.
