[SDK reference](../../index.md) / [V1](../index.md) / [RegistrationPolicy](index.md)

# RegistrationPolicyRequestBuilder

**Kind:** class  
**Namespace:** `Egulu.Sdk.V1.RegistrationPolicy`  
**Request path:** `/v1/registrationPolicy`  

Builds and executes requests for operations under \v1\registrationPolicy

## Methods

| Signature | Description |
|---|---|
| `Task<Models.Registration.RegistrationPolicy?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)` | Reads the switch and the latest readiness evaluation. Only a platform operator. |
| `Task<Models.Registration.RegistrationPolicy?> PatchAsync(Models.Registration.UpdateRegistrationPolicyRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)` | Moves the switch (If-Match: the ETag read). To PUBLIC it answers 409 readiness-checks-failing with failingChecks[{id, reasons}] unless RC-1 to RC-9 aregreen on non-simulated evidence at most 14 days old for every target location, then 403 passkey-required with a challenge bound to the move and theevidence, then moves with passkeyAssertionId. A stale ETag answers 412 etag-mismatch. An agent is refused 403 and the refusal is audited; every call leaves an audit row. |
