Config modifier endpoints allow you to review and manage config modifiers and their related links. Learn about config modifiers.
Anyone in a Redox organization can view config modifiers and related links, but you must be assigned to an engineer or support role to update them.
You can:
- retrieve a list of config modifiers by environment or organization;
- create config modifiers or links;
- update config modifiers or links; or
- delete config modifiers or link.
Restore config modifier (beta)
Restore a config modifier to a previously used version. You can select which version to restore, whether going backward or forward.
To preview changes, set the dryRun query parameter to true. Otherwise, set the dryRun query parameter to false or omit altogether to immediately apply the restored version to the linked subscription.
cURL request example
Path Parameters
- configModifierIdrequired, string
Displays the unique identifier of a config modifier.
Query Parameters
- dryRunboolean
Specifies whether the restore will be previewed or executed. Set to
true
to run a preview of restoring the asset; this keeps the asset at its current version. Set tofalse
(or omit) to restore the version.
Request Body Schema
- versionnumber
- previousobject
Contains a config modifier and its related details.
- idstring
Contains the unique identifier of the config modifier.
Format: uuid - versionnumber
Indicates the iteration, or version number, of the config modifier. Version numbers start at 1 and increment every time a config modifier is updated.
- namestring
Displays the human-readable name of the config modifier.
- flavorstring
Indicates the type, or flavor, of config modifier. A
put
flavor alters data (creates or replaces) in a payload, while adelete
flavor removes data from a payload.Possible Values:put
,delete
- selectorstring
Indicates the location(s) within the payload that this config modifier will operate on.
- schemaobject
Required for a
put
flavor config modifier. Indicates how to build the value at the location the selector specifies. - createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletedBynullable, object
Contains the metadata about the user who deleted the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- environmentobject
Describes the Redox environment that the asset belongs to.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- organizationobject
Describes the Redox organization that the asset belongs to.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- currentobject
Contains a config modifier and its related details.
- idstring
Contains the unique identifier of the config modifier.
Format: uuid - versionnumber
Indicates the iteration, or version number, of the config modifier. Version numbers start at 1 and increment every time a config modifier is updated.
- namestring
Displays the human-readable name of the config modifier.
- flavorstring
Indicates the type, or flavor, of config modifier. A
put
flavor alters data (creates or replaces) in a payload, while adelete
flavor removes data from a payload.Possible Values:put
,delete
- selectorstring
Indicates the location(s) within the payload that this config modifier will operate on.
- schemaobject
Required for a
put
flavor config modifier. Indicates how to build the value at the location the selector specifies. - createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletedBynullable, object
Contains the metadata about the user who deleted the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- environmentobject
Describes the Redox environment that the asset belongs to.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- organizationobject
Describes the Redox organization that the asset belongs to.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- dryRunboolean