Member Identities

Add a new identity

Changed on

Add a new identity to a member profile. Returns 200 if it already exists on this member. Returns 409 if it already exists on another member.

post/members/{memberId}/identities

Request

  • Base URL
    https://cm.lfx.dev/api/v1
  • URL
    https://cm.lfx.dev/api/v1/members/{memberId}/identities
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://linuxfoundation.auth0.com/oauth/token scopes: write:member-identities

Path parameters

memberIdstring uuid required

UUID of the member.

Request body

valuestring required

Identity value (e.g. username, email address).

platformstring required

Platform name (e.g. github, linkedin).

type'username' | 'email' required

Identity type.

sourcestring required

Source system that created this identity.

verifiedboolean required

Whether the identity is verified.

verifiedBystring

Required when verified is true. Identifier of who verified.

Response

Identity created.

idstring uuid required
valuestring required

Identity value (username or email).

platformstring required

Platform name (e.g. github, linkedin, lfid).

type'username' | 'email' required

Identity type.

verifiedboolean required
verifiedBystring nullable required

Identifier of who verified this identity, or null.

sourcestring nullable required

Source system that created this identity.

createdAtstring date-time required
updatedAtstring date-time required

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

    • info

      added the optional property / to the response with the status

    • breaking

      the request property's minLength was increased from 0 to 1