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:deprecate [options]

Aliases

You can also use these shorthand aliases:
  • prv directory-attribute:expire
  • prv dratr:deprecate
  • prv dratr:expire

Options

OptionDescription
-i, --id[=<value>]The ULID of the attribute
--expires_at[=<value>]Schedule to deactivate at a specific datetime (UTC). Format: 2024-01-01 00:00:00
--attribute_id_successor[=<value>]The attribute ID of the successor that should be used instead of this attribute.
-e, --expires_after_days[=<value>]Schedule to deactivate after a number of days.
-E, --inherit_expirationInherit the default expires_after_days value.
-F, --forceConfirm that you want to deprecate the attribute
--api(Debug) Show the API endpoint and query string in the command header

Examples

Deprecate by ID

prv directory-attribute:deprecate --id=dratr_01hq8xyzabc123def456ghi789

Deprecate with expiration date

prv directory-attribute:deprecate --id=dratr_01hq8xyzabc123def456ghi789 --expires_at="2024-12-31 23:59:59"

Deprecate after specific days

prv directory-attribute:deprecate --id=dratr_01hq8xyzabc123def456ghi789 --expires_after_days=30

Deprecate with successor

prv directory-attribute:deprecate --id=dratr_01hq8xyzabc123def456ghi789 --attribute_id_successor=dratr_01hq8xyzabc123def789

Deprecate with force flag

prv directory-attribute:deprecate --id=dratr_01hq8xyzabc123def456ghi789 --force