---
title: "Remove one collaborator from a package in the organization this request is bound to, by the grant_id from packageColl..."
method: DELETE
path: "/v1/packages/{package_id}/collaborators/{grant_id}"
tags: ["packages"]
---

# Remove one collaborator from a package in the organization this request is bound to, by the grant_id from packageColl...

`DELETE /v1/packages/{package_id}/collaborators/{grant_id}`

## Request

- Base URL: `https://api.kody.codes`
- URL: `https://api.kody.codes/v1/packages/{package_id}/collaborators/{grant_id}`
- Auth: HTTP bearer

Remove one collaborator from a package in the organization this request is bound to, by the grant_id from packageCollaboratorList. Works for teams, org members, and outside collaborators. You need manage access on the package. Audited like accessRevoke.

Org permission: none (touches no org data).

## Path parameters

- `package_id` string, required: Package id or kody id.
- `grant_id` string, required

## Response `200`

Success.

- object
  - `grant_id` string, required
  - `removed` true, required

## Other responses

- `400`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `401`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `403`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `404`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `409`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `413`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `429`: Too many requests (edge IP/token limit) or an entitlement / plan-cap limit. Wait at least `Retry-After` seconds before retrying.
- `500`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `503`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `default`: Error envelope `{ "error": { "code", "message", "details"? } }`.

---

[API](https://skmtc.dev/kody/apis/kody-api.md) · [All operations](https://skmtc.dev/kody/apis/kody-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kody/apis/kody-api/revisions/705f4f022728?raw)
