Add preview background file to production
Add a preview background file linked to a production.
POST
/data/projects/{project_id}/settings/preview-background-files
curl \
--request POST 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/settings/preview-background-files' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"preview_background_file_id":"b35b7fb5-df86-5776-b181-68564193d36"}'
Request examples
{
"preview_background_file_id": "b35b7fb5-df86-5776-b181-68564193d36"
}
Response examples (201)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"name": "My Project"
}