ResourceAttributeService

Archives an enum value and migrates all resource-attributes with that value to a replacement value.

post/api/v1/resource-attribute-enum-values/{archivedEnumValueId}/archive

Request

  • Base URL: https://api.siftstack.com
  • URL: https://api.siftstack.com/api/v1/resource-attribute-enum-values/{archivedEnumValueId}/archive
  • Auth: HTTP bearer

Path parameters

archivedEnumValueIdstring required

Request body

replacementEnumValueIdstring

When the archived_enum_value_id is archived all resource-attributes that reference it will be migrated to the replacement_enum_value_id if provided. Otherwise, resource-attributes that reference it will be archived as well.

Response

A successful response.

resourceAttributesMigratedinteger

Total number of resource-attributes migrated or archived by this operation. When a replacement enum value is provided, this represents attributes migrated to the new value. When no replacement is provided, this represents attributes that were archived.

Changes

No recorded changes to this operation across all 1 revision of this API.