Post full-width content

Hey there. I’m trying to create a page with full width layout on confluence using its API.
I added the following parameters but nothing happends. It still creates the page as centered fixed width.

metadata: {
   properties: 
{

    "content-appearance-draft": { value: "full-width" },
    "content-appearance-published": { value: "full-width" },
    editor: { value: "v2" }
 }
}

Is there a workaround this ?