# Replace domain verification files **PUT /api/domains/{id}/verification-files** Replace the verification files served from the custom domain. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the domain. ### Body: application/json (object) - **verificationFiles** (object) Up to 10 text or JSON verification files served as filenames with extensions at the domain root, or at paths under `/.well-known/`. ## Responses ### 200 The domain verification files were replaced successfully. #### Body: application/json (object) object ### 400 Validation error. Please check the request body. ### 401 Unauthorized ### 403 Forbidden ### 404 The domain with the specified ID was not found. [Powered by Bump.sh](https://bump.sh)