# Unimport one script module

Source: https://www.jawsdeploy.net/rest-api/projects-script-module-unassign | Section: Projects

Remove a single script module assignment from a project.

`DELETE /api/project/script-module`

Removes one script module assignment.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `projectId` | query | string | yes | ID of the project. |
| `scriptModuleId` | query | string | yes | ID of the script module to unimport. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `projectId` or `scriptModuleId`. |
| 401 | Missing or invalid Basic auth credentials, or the service account lacks the required role. |

Example request:

```
DELETE /api/project/script-module?projectId=prj_abc123&scriptModuleId=sm_1
```

Example response:

```
{}
```

