Update application

Description

Updates an existing application.

Definition

PATCH https://api.hirefire.io/applications/:id

Parameters

id required   string 
The id of the application to update 
application[name] optional   string 
The name of the application (as registered with Heroku) 
application[custom_domain] optional   string 
The custom domain (if any) for the application 
application[logplex_drain_token] optional   string 
The Heroku drain token (if using Logplex metrics) 
application[ssl] optional   boolean (false) 
Whether or not to use SSL (https://) 
application[restart_crashed_dynos] optional   boolean (false) 
Whether or not to restart dynos in a crashed state 
application[new_issue_notifications] optional   boolean (false) 
Whether or not to notify about new issues 
application[resolved_issue_notifications] optional   boolean (false) 
Whether or not to notify about resolved issues 

Result Format

200 OK

{
  "application": {
    "id": "d53a72ef-884e-4af3-aa25-824b631e2634",
    "account_id": "6439cf4f-1f98-48fb-8058-2bea32ef4e1f",
    "name": "hirefire",
    "custom_domain": "www.hirefire.io",
    "token": "00000000-0000-0000-0000-000000000000",
    "logplex_drain_token": "d.00000000-0000-0000-0000-000000000000",
    "ssl": true,
    "restart_crashed_dynos": false,
    "new_issue_notifications": false,
    "resolved_issue_notifications": false,
    "created_at": "2015-01-01T00:00:00.000Z",
    "updated_at": "2015-01-01T00:00:00.000Z",
    "issue": null
  }
}