Api Accounts Invitations Update

PUT handler with superadmin lock and field protection.

Same as patch() - checks lock and field protection before delegating.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Request

This endpoint expects an object.
emailstringRequiredformat: "email"1-254 characters
organizationintegerRequired
projectstring or nullOptional>=1 character
messagestringOptional
codestringOptionalformat: "uuid"
accepted_atdatetime or nullOptional
roleenumOptional
  • member - member
  • admin - admin
  • owner - owner
  • keywordsai_admin - keywordsai_admin
  • annotator - annotator

Response

idintegerRead-only
organization_namestringRead-only
member_countintegerRead-only
emailstringformat: "email"<=254 characters
sent_atdatetimeRead-only
organizationinteger
projectstring or null
messagestring
codestringformat: "uuid"
accepted_atdatetime or null
roleenum
  • member - member
  • admin - admin
  • owner - owner
  • keywordsai_admin - keywordsai_admin
  • annotator - annotator