Organizations

Change a current-organization user role

Changed on

Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.

put/organizations/me/members/{userId}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

userId, string required

The ID of the user whose current-organization role is changing.

Request body

OrganizationMemberRequest required

Defines the fields clients can send when working with organization user.

stateEligibility, OrganizationMemberStateEligibility nullable

Defines the states an organization member can work; this is not verification of professional licensing.

userId, string nullable

User ID to add, update, or remove from the organization.

email, string email nullable

Email address for the person represented by this organization user request.

role, 'Account Admin' | 'Owner' | 'Admin' | 'Agent'

Identifies an organization member's access level and permission scope within Leadping.

Response

Returns the organization member response.

OrganizationMemberResponse required

Describes organization user data returned by Leadping.

stateEligibility, OrganizationMemberStateEligibility

Defines the states an organization member can work; this is not verification of professional licensing.

organization, IdNamePair

User summary connected to this automation configuration response.

user, IdNamePair

User summary connected to this automation configuration response.

userEmail, string email nullable

User email for this organization user.

role, 'Account Admin' | 'Owner' | 'Admin' | 'Agent'

Identifies an organization member's access level and permission scope within Leadping.

createdByUserId, string nullable

The created by user ID associated with this organization user.

removedAt, string date-time nullable

UTC timestamp for removed at on this organization user.

removedByUserId, string nullable

The removed by user ID associated with this organization user.

lastUsedAt, string date-time nullable

UTC timestamp for last used at on this organization user.

licenseBillingStatus, string nullable

The billing status for this user's organization license.

licenseQuantity, integer nullable

The quantity on the shared organization user license item after this change.

licenseRenewalDate, string date-time nullable

The renewal date used for this user's license proration.

name, string
id, string
createdAt, string date-time
modifiedAt, string date-time nullable

Changes

    • warning

      added the new Account Admin enum value to the allOf[#/components/schemas/OrganizationMemberResponse]/role/allOf[#/components/schemas/OrganizationMemberRole] response property for the response status

    • info

      added the new Account Admin enum value to the request property allOf[#/components/schemas/OrganizationMemberRequest]/role/allOf[#/components/schemas/OrganizationMemberRole] (media type: application/json)

    • info

      added the new Account Admin enum value to the request property allOf[#/components/schemas/OrganizationMemberRequest]/role/allOf[#/components/schemas/OrganizationMemberRole] (media type: application/*+json)