Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt

Use this file to discover all available pages before exploring further.

Usage

prv directory-attribute:create [options]

Aliases

You can also use these shorthand aliases:
  • prv directory-attribute:new
  • prv dratr:create
  • prv dratr:new

Options

OptionDescription
-d, --directory_dimension_id[=<value>]The ID of the dimension to create the attribute for
-p, --predecessor_id[=<value>]The ID of the attribute that is being replaced
-P, --no_predecessorIf set, will skip the predecessor prompt
--name[=<value>]The name of the attribute
--handle[=<value>]The handle of the attribute. The name will be used to create the handle if not set
-e, --expires_after_days[=<value>]Override the dimension number of days (0-1095) that attributes and associated users will expire after deprecated
-E, --inherit_expirationInherit the dimension default expires_after_days value. If set, will skip the expiration prompt.
-A, --activateSet status to active. If not set, record will be staged.
--api(Debug) Show the API endpoint and query string in the command header

Examples

Interactive creation

prv directory-attribute:create

Create with dimension ID

prv directory-attribute:create --directory_dimension_id=drdim_01hq8xyzabc123def456ghi789

Create and activate

prv directory-attribute:create --directory_dimension_id=drdim_01hq8xyzabc123def456ghi789 --name="Marketing" --activate

Create with all options

prv directory-attribute:create --directory_dimension_id=drdim_01hq8xyzabc123def456ghi789 --name="Marketing" --handle=mktg --activate

Create with custom expiration

prv directory-attribute:create --directory_dimension_id=drdim_01hq8xyzabc123def456ghi789 --expires_after_days=60