Update Project
Update project with specified id.
Update project with specified id.
PATCH
https://environment.monterosa.cloud/api/v2/projects/:project_id
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
List of fields of App Setup. Each field is updated separately and if present its content is rewritten completely.
Elements visibility settings are updated by providing hidden_elements
attribute and only for provided element types.
In the example above elements of "vote" type is set to be invisible on UI and "emote" is set to be visible.
Settings for other element types not changed since hidden_elements
attribute contains settings only for "vote" and "emote".
It is similar to check "Emote" and uncheck "Vote" on Elements tab on Project Settings page.
A Project can be switched to another App by updating the App ID in the relationships
object.
project_id
string
Project ID.
Authorization
string
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Content-Type
string
application/vnd.api+json
presence_counter[min_threshold]
integer
Minimal threshold. Can be greater or equal to 0. Default value can be set via App Spec.
presence_counter[enabled]
boolean
Switch on/off presence counter.
presence_counter
object
Presence counter on client application setup. Available if it is enabled on App Spec level only.
name
string
Project's name.
hidden_elements
array
Project's elements visibility settings.
audio_sync_default_delay
integer
Project's audio sync default delay.
audio_sync_max_delay
integer
Project's audio sync max delay.
certification_enabled
boolean
Defines if Certification is enabled for a project.
locales
array
List of project locales.
settings
array
App Setup settings.
archived
boolean
Marks project as archtived.
Users with at least the Admin role can change this attribute.
environment
string
Sets environment of the project. Allowed values: "staging"
(default), "production"
.
Users with at least the Admin role can change this attribute.