Skip to content

DELETE /wpcom/v2/sites/$wpcom_site/hosting/code-deployments/$deployment_id

Delete a deployment configuration for a site.

Resource Information

   
Method DELETE
URL https://public-api.wordpress.com/wpcom/v2/sites/$wpcom_site/hosting/code-deployments/$deployment_id
Requires authentication? Yes

Method Parameters

Parameter Type Required Description
wpcom_site string | integer Yes A domain or blog ID.
deployment_id integer Yes The deployment ID.
remove_files bool No If true, the deployed files will be removed, if any.

Response Example

					
						[
    "NO_CONTENT"
]					
				

Resource Errors

This endpoint does not return any errors.