Update site

PUT /site/:siteId

Use this method to update your site.

Path Parameters

NameTypeDescription

siteId

Number

ID of the site

Headers

NameValue

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