Update site

PUT /site/:siteId

Use this method to update your site.

Path Parameters

Name
Type
Description

siteId

Number

ID of the site

Headers

Name
Value

Authorization

Basic <token>

Body

{
  name?: string,
  cpm_adjustment?: number,
  is_archived?: boolean,
  schain: {
      is_active: boolean,
      asi: string,
      sid: string
    }
}

Response

{
    "id": number,
    "name": "string",
    "cpm_adjustment": number,
    "is_archived": boolean,
    "account": {
        "id": string,
        "name": string
    },
    "schain": {
        "is_active": boolean,
        "asi": string,
        "sid": string
    }
}

Last updated