# Update API resource scope **PATCH /api/resources/{resourceId}/scopes/{scopeId}** Update an API resource scope (permission) for the given resource. 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 - **resourceId** (string) The unique identifier of the resource. - **scopeId** (string) The unique identifier of the scope. ### Body: application/json (object) - **name** (string) The updated name of the scope. It should be unique for the resource. - **description** (string | null) ## Responses ### 200 The updated scope. #### Body: application/json (object) - **tenantId** (string) - **id** (string) - **resourceId** (string) - **name** (string) - **description** (string | null) - **createdAt** (number) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found ### 422 Unprocessable Content [Powered by Bump.sh](https://bump.sh)