Delete a Type

delete

/content/management/api/v1.1/types/{name}

Deletes a type.

Request

Path Parameters
  • Type name identifier is case-sensitive and any special characters must be encoded
Query Parameters
Header Parameters
Back to Top

Response

204 Response

No content.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to delete a type using its name by submitting a DELETE request on the REST resource using cURL.

curl -i -X DELETE -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/types/{name}'

Example:

/content/management/api/v1.1/types/typeName

Response Code

HTTP/1.1 204 No Content
Back to Top