Accept an organization invitation

Auth

Accepts an organization invitation. Currently unavailable in self-hosted ECE.

Path parameters

invitation_token string required

Organization invitation token

Responses

Organization invitation accepted successfully

application/json

Response Type: object

User already belongs to organization. (code: organization.user_organization_already_belongs)

application/json
errors object[] required

A list of errors that occurred in the failing request

code string required

A structured code representing the error type that occurred

message string required

A human readable message describing the error that occurred

fields string[]

If the error can be tied to a specific field or fields in the user request, this lists those fields

Response headers

x-cloud-error-codes enum

The error codes associated with the response

The current user authentication is not valid. (code: root.invalid_authentication)

application/json
errors object[] required

A list of errors that occurred in the failing request

code string required

A structured code representing the error type that occurred

message string required

A human readable message describing the error that occurred

fields string[]

If the error can be tied to a specific field or fields in the user request, this lists those fields

Response headers

x-cloud-error-codes enum

The error codes associated with the response

  • Organization not found. (code: organization.not_found)
  • User not found. (code: user.not_found)
  • Invitation not found. (code: organization.invitation_not_found)
application/json
errors object[] required

A list of errors that occurred in the failing request

code string required

A structured code representing the error type that occurred

message string required

A human readable message describing the error that occurred

fields string[]

If the error can be tied to a specific field or fields in the user request, this lists those fields

Response headers

x-cloud-error-codes enum

The error codes associated with the response