Update Project

Update project with specified id.

patch
Update Project

https://environment.lvis.io/api/v2/projects/:project_id
Request
Response
Request
Path Parameters
project_id
required
string
Project ID.
Headers
Authorization
required
string
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Content-Type
required
string
application/vnd.api+json
Body Parameters
name
optional
string
Project's name.
audio_sync_default_delay
optional
integer
Project's audio sync default delay.
audio_sync_max_delay
optional
integer
Project's audio sync max delay.
certification_enabled
optional
boolean
Defines if Certification is enabled for a project.
locales
optional
array
List of project locales.
settings
optional
array
List of fields of project settings. Each field is updated separately and if present its content is rewritten completely.
Response
204: No Content
// No content

Example

Request
Response
cURL
Request
// PATCH /api/v2/projects/951a951e-07de-457f-99c8-f1307fad4eeb
// Host: environment.lvis.io
// Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
// Content-Type: application/vnd.api+json
‚Äč
{
"data": {
"type": "projects",
"id": "951a951e-07de-457f-99c8-f1307fad4eeb",
"attributes": {
"name": "NEW Project Name"
}
}
}
Response
// Response: 204 No Content
cURL
curl --request PATCH \
--url https://environment.lvis.io/api/v2/projects/951a951e-07de-457f-99c8-f1307fad4eeb \
--header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "projects",
"id": "951a951e-07de-457f-99c8-f1307fad4eeb",
"attributes": {
"name": "NEW Project Name"
}
}
}'