---
title: "Inactivate the Complexity of Need level for an offender"
method: PUT
path: "/v1/complexity-of-need/offender-no/{offender_no}/inactivate"
tags: ["Single Offender"]
---

# Inactivate the Complexity of Need level for an offender

`PUT /v1/complexity-of-need/offender-no/{offender_no}/inactivate`

Clients calling this endpoint must have role: `ROLE_UPDATE_COMPLEXITY_OF_NEED`

## Response `200`

Complexity of Need level inactivated successfully

- ComplexityOfNeed
  - `offenderNo` string, required — NOMIS Offender Number
  - `level` 'low' | 'medium' | 'high', required — Complexity of Need Level
  - `sourceUser` string — The NOMIS username that supplied this Complexity of Need entry
  - `sourceSystem` string, required — The OAuth Client ID of the system that created this entry
  - `notes` string — Free-text notes for this entry
  - `createdTimeStamp` string, date_time, required — The date & time this entry was created (in RFC 3339 format)
  - `updatedTimeStamp` string, date_time, required — The date & time this entry was updated (in RFC 3339 format)
  - `active` boolean, required — Whether it is active or not

## Other responses

- `401` — Invalid or missing access token
- `403` — Access token is missing role `ROLE_COMPLEXITY_OF_NEED`

---

[API](https://skmtc.net/ministryofjustice/apis/complexity-of-need-api.md) · [All operations](https://skmtc.net/ministryofjustice/apis/complexity-of-need-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministryofjustice/complexity-of-need-api/revisions/5e5e329d7462/schema)
