Metadata types settings

Upgrade a resource types settings

Administrators can define which resource type is the default

post/metadata/types/settings.json

Request

Request body

default_resource_types'v4' | 'v5' required
default_folder_type'v4' | 'v5' required
default_tag_type'v4' | 'v5' required
default_comment_type'v4' | 'v5' required
allow_creation_of_v5_resourcesboolean required
allow_creation_of_v5_foldersboolean required
allow_creation_of_v5_tagsboolean required
allow_creation_of_v5_commentsboolean required
allow_creation_of_v4_resourcesboolean required
allow_creation_of_v4_foldersboolean required
allow_creation_of_v4_tagsboolean required
allow_creation_of_v4_commentsboolean required
allow_v5_v4_downgradeboolean required
allow_v4_v5_upgradeboolean required

Response

Operation is successful.

Example response

{
  "header": {
    "servertime": 1720702619,
    "message": "The operation was successful.",
    "url": "/auth/verify.json",
    "code": 200
  }
}

Changes

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