---
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}`

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/assignments/{assignmentId}`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.space.assignments.delete`

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/space-api.md) - [All operations](https://skmtc.dev/officernd/apis/space-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/space-api/revisions/f7e2e1e4ba60?raw)
