Delete a deploy
DELETE
/v1/deploys/{deployId}
const url = 'https://api.presscloud.example/v1/deploys/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.presscloud.example/v1/deploys/example \ --header 'Authorization: Bearer <token>'Permanently deletes a deploy and its associated deploy data.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deployId
required
string
Responses
Section titled “ Responses ”Deploy deleted.
Requested resource was not found.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}