packages

Add a team or org member as a collaborator on one package in the organization this request is bound to, or change the...

Add a team or org member as a collaborator on one package in the organization this request is bound to, or change the preset of one who already is. Pass exactly one of team_slug, team_id, username, or user_id, and a preset (use, contribute, or manage). Only teams and members of this organization are accepted; Owners already have full access. You need manage access on the package. Audited like accessGrant.

Org permission: none (touches no org data).

post/v1/packages/{package_id}/collaborators

Request

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

Path parameters

package_idstring required

Package id or kody id.

Request body

team_slugstring
team_idstring
usernamestring

Username of an org member, without the leading @.

user_idstring
preset'use' | 'contribute' | 'manage' required

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.