---
title: "Delete an assignment"
method: DELETE
path: "/api/v2/organizations/{orgSlug}/assignments/{assignmentId}"
tags: ["Assignments"]
---

# Delete an assignment

`DELETE /api/v2/organizations/{orgSlug}/assignments/{assignmentId}`

Remove an assignment by id. Use this to correct an incorrect assignment. 

 Required scopes: `flex.space.assignments.delete`

## Path parameters

- `assignmentId` string, required
- `orgSlug` string, required

## Response `200`

- AssignmentResultDto
  - `_id` string — The _id of the assignment.
  - `resource` string — The _id of the resource with which the assignment is associated.
  - `membership` string — The _id of the membership with which the assignment is associated.
  - `startDate` string, date-time — The start date of the assignment.
  - `endDate` string, date-time — The end date of the assignment.

---

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