This method deletes a global build command template from your account. The command is removed from every project it is linked to.

**Tip**: You can explore and test this endpoint interactively using our [OpenAPI documentation](https://api.deployhq.com/docs).

## URL

```
/global_build_commands/:identifier
```

## HTTP Method

```
DELETE
```

## Example cURL Request

```bash
curl -H "Accept: application/json" \
--user your-email@example.com:your-api-key \
-X DELETE \
https://test.deployhq.com/global_build_commands/df8966fe-e161-4517-98e2-24f79102dd62
```

## Example Response

```json
{
  "status": "deleted"
}
```

## Error Responses

- `401 Unauthorized` - the email address or API key is missing or incorrect
- `403 Forbidden` - your user is not an account administrator
- `404 Not Found` - no global build command matches the supplied identifier
