Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update an application

Updates the status, access request setting, custom fields, primary sources or contract end date of an application

Update Application

patch

Update a canonical application

Authorizations
AuthorizationstringRequired

Harmony access key, sent as Authorization: AccessKey <your-key>. Create keys in Settings > Access Keys. The tenant is resolved from the key.

Path parameters
application_idstringRequired
Query parameters
include_custom_fields_configbooleanOptional

Include custom field config metadata

Default: false
Body

Request schema for updating canonical Application.

statusstring · enum · nullableOptional

Application status

Possible values:
access_requeststring · enum · nullableOptional

Access request availability status

Possible values:
contract_end_date_overridestring · date · nullableOptional

Pin the application's end of contract to this date. An explicit null clears the pin and reverts to the date derived from active contracts; omitting the field leaves it untouched.

Responses
200

Successful Response

application/json

The updated application, and any custom field values that were refused.

idstringRequired

Unique identifier for the application

namestringRequired

Application name

statusstring · enumRequired

Application status

Possible values:
catalog_idstring · nullableOptional

ID from catalog

display_namestring · nullableOptional

Human-readable name from catalog

descriptionstring · nullableOptional

Application description from catalog

vendorstring · nullableOptional

Vendor/company name from catalog

categorystring · enum · nullableOptional

Application category from catalog

Possible values:
monthly_cost_per_userstring · nullableOptional

Monthly cost per user from catalog

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
is_manualbooleanOptional

Whether this application was manually created

Default: false
access_requeststring · enumOptional

Whether this app is available for access requests

Default: UNAVAILABLEPossible values:
contract_end_date_overridestring · date · nullableOptional

Human-pinned end of contract. Null means the date is derived from the application's active contracts. Null without contracts access.

statuspage_statusstring · enumOptional

Current operational status

Default: NOT_MONITOREDPossible values:
created_atstring · date-timeRequired

Creation timestamp

updated_atstring · date-timeRequired

Last update timestamp

last_syncstring · date-time · nullableOptional

Last time data was synchronized from source (computed from instances)

patch/api/v1/apps/{application_id}
PATCH /applications/api/v1/apps/{application_id} HTTP/1.1
Host: api.harmony.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "status": "DISCOVERED",
  "access_request": "AVAILABLE",
  "custom_fields": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  },
  "primary_sources": [
    "OKTA"
  ],
  "contract_end_date_override": "2026-01-01"
}
{
  "id": "text",
  "name": "text",
  "stakeholders": [
    {
      "employee_id": "text",
      "role": "APP_OWNER",
      "assigned_at": "2026-01-01T00:00:00.000Z",
      "assigned_by": "text"
    }
  ],
  "status": "DISCOVERED",
  "primary_sources": [
    "OKTA"
  ],
  "catalog_id": "text",
  "display_name": "text",
  "description": "text",
  "vendor": "text",
  "category": "SALES",
  "monthly_cost_per_user": "text",
  "is_manual": false,
  "access_request": "UNAVAILABLE",
  "contract_end_date_override": "2026-01-01",
  "statuspage_status": "NOT_MONITORED",
  "active_users": {
    "histogram": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "total": 1
  },
  "usage_trend": {
    "histogram": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "total": 1,
    "by_activity_type": {
      "ANY_ADDITIONAL_PROPERTY": {
        "histogram": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "total": 1
      }
    }
  },
  "activity_metrics": {
    "ANY_ADDITIONAL_PROPERTY": {
      "histogram": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "total": 1,
      "type": "unit",
      "derived_from": "text",
      "outcome_result": "text",
      "outcome_reason": "text"
    }
  },
  "custom_fields": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  },
  "custom_fields_with_config": {
    "ANY_ADDITIONAL_PROPERTY": {
      "ANY_ADDITIONAL_PROPERTY": {
        "value": "text",
        "label": "text",
        "type": "number",
        "required": false,
        "options": [
          "text"
        ]
      }
    }
  },
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "last_sync": "2026-01-01T00:00:00.000Z",
  "rejected_custom_fields": [
    {
      "field_id": "text",
      "field_label": "text",
      "code": "text",
      "message": "text",
      "context": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    }
  ]
}

Last updated

Was this helpful?