Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#10041] fix(docs): Fix migration guide doc: the curl command `set the owner` is incorrect (#10061)

Danhua Wang927e107ee226
diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index 854421773a..1724cdde07 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -514,9 +514,9 @@ Set the owner for each existing metalake using the Gravitino API:
```shell
curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" -d '{
- "owner": "admin1",
- "ownerType": "USER"
-}' http://localhost:8090/api/metalakes/{metalake}/owners
+ "name": "admin1",
+ "type": "USER"
+}' http://localhost:8090/api/metalakes/${metalake}/owners/metalake/${metalake}
```
</TabItem>