Update App Instance Config
curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"appName": {
"fr": "Bonjour",
"en": "Hello"
},
"appVersion": "<string>",
"slug": "<string>",
"disabled": true,
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"config": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Prisme.ai Workspaces
Update App Instance Config
Update the config of an appInstance
PATCH
/
v2
/
workspaces
/
{workspaceId}
/
apps
/
{slug}
/
config
Update App Instance Config
curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}/config"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"appName": {
"fr": "Bonjour",
"en": "Hello"
},
"appVersion": "<string>",
"slug": "<string>",
"disabled": true,
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"config": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The body is of type object.
Response
Success Response
App unique id
Defaults to the latest known app version
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
If disabled, this appInstance will be ignored during execution
Pattern:
^[0-9A-Za-z._:-]{2,60}$Was this page helpful?