platform

Add Organization Member

Changed on

Add an existing Auth0 user to an organization.

Requires editor on the members-organizations module instance (derived from the POST method by the parent router gate). The user must already exist in the connected Auth0 tenant; they are added to the organization in both Auth0 (the source of truth) and FGA, and the resolved user record is returned. Use POST /api/platform/users instead to provision a brand-new user.

post/api/platform/organizations/{org_id}/members

Request

  • Base URL
    https://app.gocrisp.com (the document declares no server; this is the origin it was published from)
  • URL
    https://app.gocrisp.com/api/platform/organizations/{org_id}/members
  • Auth
    OAuth 2
    Authorization code: https://login.gocrisp.com/authorize
    Token URL: https://login.gocrisp.com/oauth/token

Path parameters

org_idstring required

Request body

userIdstring required

Response

Successful response, including any rejected FGA tuple operations.

userIdstring required
emailstring nullable
namestring nullable
picturestring nullable
loginCountinteger
lastLoginstring nullable
createdAtstring nullable
emailVerifiedboolean nullable
needsInvitationboolean nullable
inviteEmailStatus'sent' | 'unconfirmed' | 'failed'

Whether Auth0's logs confirm a Change Password email was queued.

POST /dbconnections/change_password returns 200 even when no mail is sent. sent means a later scpr log; unconfirmed means Auth0 accepted the call but no scpr/fcpr log appeared; failed means Auth0 rejected the call or logged fcpr.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status