User / team / organization / usage
Update Organization Invite
- Update an organization invite to accept, decline, cancel, expire, or resend.
- Update the role of the invitee to admin or member. Only the owner or admin can update the role.
patch/api/v2/organizations/{uid_organization}/invites/{guid}/
Request
- The document declares no server URL.
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
guidstring required
GUID of the invite
uid_organizationstring required
UID of the organization asset
Request body
Response
Example response
{
"url": "https://kf.kobotoolbox.org/api/v2/organizations/orgR6zUBwMHop2mgGygtFd6c/invites/f3ba00b2-372b-4283-9d57-adbe7d5b1bf1/",
"invited_by": "https://kf.kobotoolbox.org/api/v2/users/bob/"
}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