# Set API resource as default **PATCH /api/resources/{id}/is-default** Set an API resource as the default resource for the current tenant. Each tenant can have only one default API resource. If an API resource is set as default, the previously set default API resource will be set as non-default. See [this section](https://docs.logto.io/docs/references/resources/#default-api) for more information. ## 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 resource. ## Body parameters Content-type: application/json - **isDefault** (boolean) The updated value of the `isDefault` property. ## Responses ### 200: The updated resource. #### Body Parameters: application/json (object) - **tenantId** (string) - **id** (string) - **name** (string) - **indicator** (string) - **isDefault** (boolean) - **accessTokenTtl** (number) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found [Powered by Bump.sh](https://bump.sh)