Archive a module
POST/api/v1/workspaces/{slug}/projects/{project_id}/modules/{pk}/archive/
Move a module to archived status for historical tracking.
Path Parameters
pk:requiredstringModule ID
project_id:requiredstringProject ID
slug:requiredstringWorkspace slug
Scopes
projects.modules:write
Archive a module
bash
curl -X POST \
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/modules/550e8400-e29b-41d4-a716-446655440000/archive/" \
-H "X-API-Key: $PLANE_API_KEY"python
import requests
response = requests.post(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/modules/550e8400-e29b-41d4-a716-446655440000/archive/",
headers={"X-API-Key": "your-api-key"}
)
print(response.status_code)javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/modules/550e8400-e29b-41d4-a716-446655440000/archive/",
{
method: "POST",
headers: {
"X-API-Key": "your-api-key",
},
}
);
console.log(response.status);Response204
No response body.

