Manage projects and library content
Update an invite status
Update the status of an invite. Status accepted:
- cancelled
- accepted
- declined
Notes:
- When submitting accepted the invite status becomes automatically in_progress
- Only the sender can cancel an invite, and if only if the invite is still pending.
- Only the recipient can accept or decline, if and only if the invite is still pending.
patch/api/v2/project-ownership/invites/{uid_invite}/
Request
- The document declares no server URL.
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
uid_invitestring required
Request body
Response
Example response
{
"url": "https://kf.kobotoolbox.org/api/v2/project-ownership/invites/poi52fGkwDjQeZkUxcaou39q/",
"sender | recipient": "https://kf.kobotoolbox.org/api/v2/users/bob/",
"transfers": [
{
"url": "https://kf.kobotoolbox.org/api/v2/project-ownership/invites/poi52fGkwDjQeZkUxcaou39q/transfers/pot54pTqM5qwKdZ4wnNdiwDY/",
"asset": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/"
}
]
}Changes
- breaking
removed the required property
from the response with the status
- breaking
- info
added the required property
to the response with the status
- info