owners

Accept or decline a crate owner invitation.

put/api/v1/me/crate_owner_invitations/{crate_id}

Request

  • Base URL: https://crates.io
  • URL: https://crates.io/api/v1/me/crate_owner_invitations/{crate_id}
  • Auth: one of:
    • API key in header authorization
    • API key in cookie cargo_session

Path parameters

crate_idinteger required

ID of the crate

Request body

Example request

{
  "crate_owner_invite": {
    "accepted": true,
    "crate_id": 42
  }
}

Response

Successful Response

Example response

{
  "crate_owner_invitation": {
    "accepted": true,
    "crate_id": 42
  }
}

Changes

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