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

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

`PATCH /api-public/v1/policies/{policy}/oncall/user`

Replaces a currently on-call user in the escalation policy with another.  In many cases, the policy slug
will match the slug of the team that contains it.

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

## Path parameters

- `policy` 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)
