curl --request PATCH \
--url https://app.trelica.com/api/apps/v1/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instanceName": "EMEA Sales",
"status": "Accepted"
}
'{
"id": "9425963fcd38ed972d209b49",
"name": "Asana",
"status": "New",
"riskLevel": "High",
"vendor": {
"id": "f7f213984a1a225358c21c71",
"name": "Asana, Inc."
},
"licenses": [
{
"name": "Premium",
"licensePlanId": "PREMIUM",
"startDate": "2024-07-22T00:00:00Z",
"renewalDate": "2025-07-22T00:00:00Z",
"terminatedDate": "2025-10-22T00:00:00Z",
"lastModifiedDtm": "2024-11-27T16:00:20.895Z"
},
{
"name": "Business",
"licensePlanId": "BUSINESS",
"startDate": "2021-06-22T00:00:00Z",
"renewalDate": "2022-06-22T00:00:00Z",
"lastModifiedDtm": "2023-05-15T12:28:57.137Z"
}
],
"customFields": {
"user_area": "support",
"user_vcc": "corp_support"
},
"deleted": false,
"roles": [
{
"name": "IT admin",
"members": [
{
"userId": "20fcf665630fc6562182578cb7f19f1e",
"name": "Eduardo Wilson",
"email": "eduardo.wilson@example.com"
}
]
},
{
"name": "App owner",
"members": [
{
"userId": "0372c6f6fc51bc128389337de1146143",
"name": "Eduardo Jung",
"email": "eduardo.jung@example.com"
}
]
}
],
"isGlobal": false,
"mainCategory": {
"id": "03823a9d2e817efcce22f52e",
"name": "Project Management"
},
"otherCategories": [
{
"id": "cab66910ac7cc93acdcc0338",
"name": "Project Management & Tracking"
},
{
"id": "22d0532b27e33b61e53a6fc5",
"name": "Team Coordination & Comms"
},
{
"id": "74e38311e5ad68ef2ab9dbb2",
"name": "Task Management"
}
],
"logoUrl": "https://app-files.trelica.com/public/4ad42e9e68cf46e3bc59cb8eab35886c",
"links": {
"application": "https://app.asana.com/"
}
}Update selected details of an application
Partially updates an application: only the fields present in the request body are changed.
Omitting a field leaves it untouched, whereas sending an explicit null clears it. At
least one field must be supplied.
Required scope: Apps.Write (Write access to applications)
curl --request PATCH \
--url https://app.trelica.com/api/apps/v1/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instanceName": "EMEA Sales",
"status": "Accepted"
}
'{
"id": "9425963fcd38ed972d209b49",
"name": "Asana",
"status": "New",
"riskLevel": "High",
"vendor": {
"id": "f7f213984a1a225358c21c71",
"name": "Asana, Inc."
},
"licenses": [
{
"name": "Premium",
"licensePlanId": "PREMIUM",
"startDate": "2024-07-22T00:00:00Z",
"renewalDate": "2025-07-22T00:00:00Z",
"terminatedDate": "2025-10-22T00:00:00Z",
"lastModifiedDtm": "2024-11-27T16:00:20.895Z"
},
{
"name": "Business",
"licensePlanId": "BUSINESS",
"startDate": "2021-06-22T00:00:00Z",
"renewalDate": "2022-06-22T00:00:00Z",
"lastModifiedDtm": "2023-05-15T12:28:57.137Z"
}
],
"customFields": {
"user_area": "support",
"user_vcc": "corp_support"
},
"deleted": false,
"roles": [
{
"name": "IT admin",
"members": [
{
"userId": "20fcf665630fc6562182578cb7f19f1e",
"name": "Eduardo Wilson",
"email": "eduardo.wilson@example.com"
}
]
},
{
"name": "App owner",
"members": [
{
"userId": "0372c6f6fc51bc128389337de1146143",
"name": "Eduardo Jung",
"email": "eduardo.jung@example.com"
}
]
}
],
"isGlobal": false,
"mainCategory": {
"id": "03823a9d2e817efcce22f52e",
"name": "Project Management"
},
"otherCategories": [
{
"id": "cab66910ac7cc93acdcc0338",
"name": "Project Management & Tracking"
},
{
"id": "22d0532b27e33b61e53a6fc5",
"name": "Team Coordination & Comms"
},
{
"id": "74e38311e5ad68ef2ab9dbb2",
"name": "Task Management"
}
],
"logoUrl": "https://app-files.trelica.com/public/4ad42e9e68cf46e3bc59cb8eab35886c",
"links": {
"application": "https://app.asana.com/"
}
}Authorizations
OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.
Path Parameters
The application's SaaS Manager ID.
Body
Selected application fields to update. Omitted fields are left unchanged; fields set to null are cleared.
The instance name, used to distinguish multiple instances of the same application
The application's status, e.g. New, InReview, Managed, Accepted, Ignored, PlanToClose, Closed
New, InReview, Managed, Accepted, Ignored, PlanToClose, Closed Replace the application's owner roles. Members are matched by ID, email or name.
Show child attributes
Show child attributes
Custom field values to set, keyed by the field's lookup key
Show child attributes
Show child attributes
Response
OK
An application
The application's unique ID
The application name
A description of the application
The instance name, used to distinguish multiple instances of the same application
The application's status in SaaS Manager.
New, InReview, Managed, Accepted, Ignored, PlanToClose, Closed Optional OAuth access risk level: Low, Medium or High
The application's vendor
Show child attributes
Show child attributes
The application's license plans
Show child attributes
Show child attributes
Custom field values, keyed by the field's lookup key. Each value is the field's value directly: a string (text/single-select), a number, an ISO-8601 date, or an array of strings (multi-select).
Show child attributes
Show child attributes
The user that created the application record
Show child attributes
Show child attributes
The timestamp for when the application record was created
Whether the application has been deleted
The timestamp for when the application record was last modified
The application's owner roles and their members
Show child attributes
Show child attributes
Whether the application is recognised in the global application catalog
The application's primary category
Show child attributes
Show child attributes
The application's additional categories
Show child attributes
Show child attributes
The application's domains
A URL for the application's logo
The application's single sign-on URL
Links to pages containing application details
Show child attributes
Show child attributes
Was this page helpful?