---
title: "Create an on-call override (take on-call)"
method: PATCH
path: "/api-public/v1/team/{team}/oncall/user"
tags: ["On-call"]
deprecated: true
---

# Create an on-call override (take on-call)

`PATCH /api-public/v1/team/{team}/oncall/user`

> **Deprecated.**

__NOTE: This API call is deprecated. Please use `PATCH /api-public/v2/policies/{policy}/oncall/user`__

Replaces a currently on-call user on the team with another.

This API may be called a maximum of 2 times per second.

## Path parameters

- `team` string, required

## Headers

- `X-VO-Api-Id` string, required
- `X-VO-Api-Key` string, required

## Request body

- TakeRequest
  - `fromUser` string, required
  - `toUser` string, required

## Response `200`

The result of the take request

- TakeResult
  - `result` string

## Other responses

- `400` — Problem with the request arguments. The response payload may include an error message.
- `401` — Authentication parameters missing
- `403` — Authentication failed or rate-limit reached
- `404` — Team or user(s) not found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/victorops/apis/victorops-api.md) · [All operations](https://skmtc.dev/victorops/apis/victorops-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/victorops/victorops-api/revisions/7a7391256058/schema)
