Delete a module

DELETE/products/{product_id}/modules/{module_id}

Moves the module to the trash, together with its submodules and lessons. Copies of the module in replicated accounts are also moved to the trash.

Restoring the module through the update operation does not restore those copies.

Replicated modules cannot be deleted. Attempts to delete them return the replica_readonly error code.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

product_id*string
module_id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/products/string/modules/string"
Empty