SchemaDesignerServicesDeleteSchemas Method

Ingeniux CMS Web Services API

Deletes a collection of Schemas by their unique Ids

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<string[]> DeleteSchemas(
	SchemasDeleteInput data
)

Parameters

data
Type: SchemasDeleteInput

Collection of Ids of Schemas to be deletes

Examples

Sample JSON input
JavaScript
{
    "data": {
        "ids": ["schemas/FormFilteredResultPage", "schemas/FormProcessorPage"]
    }
}

Return Value

Type: XHRServiceResponseGenericString

Array of Ids of Schemas that cannot be deleted, due to existing Pages associated with these Schemas

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [schemas/FormProcessorPage]
}
Remarks

Any Schemas that has Page created with them cannot be deleted.

Non-existing Schemas Ids will be ignored.

See Also

Reference