--- title: "realm assign" slug: "realm-assign" tags: ["5.4"] updated: 2026-10-28T01:53:11Z published: 2026-10-28T01:53:11Z canonical: "docs.vastdata.com/realm-assign" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # realm assign This command assigns an object type to a user defined realm. ## Usage ```plaintext realm assign --id ID             --object-type OBJECT_TYPE ``` ## Required Parameters | `--id ID` | Specifies a user defined realm. | | --- | --- | | `--object-type OBJECT_TYPE` | Specifies an object type to assign to the specified realm. For possible values to specify for `OBJECT_TYPE`, see [Managing User-Defined Permission Realms](/docs-5-4/docs/managing-user-defined-permission-realms).Managing User-Defined Permission Realms | ## Example ```plaintext vcli: admin> realm assign --id 18 -object-type qospolicy ```