Delete a Repository

delete

/content/management/api/v1.1/repositories/{id}

Deletes a repository.

Request

Path 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 the repository using ID 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/repositories/{id}'

Example:

/content/management/api/v1.1/repositories/F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95

Response Code

HTTP/1.1 204 No Content
Back to Top