---
title: "Update ad extra by its id"
method: PUT
path: "/ad_extras/{adExtraId}"
tags: ["AdExtra"]
---

# Update ad extra by its id

`PUT /ad_extras/{adExtraId}`

Update ad extra by its id

## Path parameters

- `adExtraId` integer, required

## Query parameters

- `token` string, string, required

## Request body

- AddAdExtra
  - `name` string, required
  - `is_active` integer, required

## Response `200`

Ad Extra updated

- AdExtra
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `name` string
  - `is_active` integer

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/oliker-api-endpoint.md) · [All operations](https://skmtc.net/agriya/apis/oliker-api-endpoint/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/oliker-api-endpoint/versions/d716960b8cd5/schema)
