# Update API resource **PATCH /api/resources/{id}** Update an API resource details by ID with the given data. This method performs a partial update. ## 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: application/json (object) - **tenantId** (string) - **name** (string) The updated name of the resource. - **accessTokenTtl** (number) The updated access token TTL in seconds. ## Responses ### 200 The updated resource. #### Body: 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)