Organizations

Get organization members list

Retrieve a list of the organization members and their IDs.

get/api/organizations/{id}/memberships

Path parameters

idinteger required

Query parameters

contributed_to_projectsboolean

Whether to include projects created and contributed to by the members.

exclude_project_idnumber
exclude_workspace_idnumber
is_deletedboolean
orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

rolestring[]

Multiple values may be separated by commas.

searchstring

A search term.

tagsinteger[]

Multiple values may be separated by commas.

user__last_activity__gtestring date-time
user__last_activity__ltestring date-time
user_typestring[]

Multiple values may be separated by commas.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

Changed in 6 of the 97 revisions of this API.15110

  • 1d13f90af57a32See the full diff
    • the response property results/items/role_source became nullable for the status 200

      response-property-became-nullable

    • the results/items/role response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the results/items/role_source response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added OrganizationRoleEnum to the results/items/role response property allOf list for the response status 200

      response-property-all-of-added

    • added RoleSourceEnum to the results/items/role_source response property allOf list for the response status 200

      response-property-all-of-added

    • added the required property results/items/flex to the response with the 200 status

      response-required-property-added

  • e518dbbb2b12212See the full diff
    • for the query request parameter role, the type/format was changed from string/ to array/

      request-parameter-type-changed

    • for the query request parameter tags, the type/format was changed from string/ to array/

      request-parameter-type-changed

    • deleted the query request parameter scope

      request-parameter-removed

    • for the query request parameter exclude_project_id, the type/format was generalized from integer/ to number/

      request-parameter-type-generalized

    • for the query request parameter exclude_workspace_id, the type/format was generalized from integer/ to number/

      request-parameter-type-generalized

    • the response property results/items/concurrency became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/user/avatar became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/user/lse_fields/allOf[LseFields]/invite_expired became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/user/lse_fields/allOf[LseFields]/invite_expired_at became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/user/pause became nullable for the status 200

      response-property-became-nullable

    • the response property results/items/user_type became nullable for the status 200

      response-property-became-nullable

    • the results/items/concurrency response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the results/items/user/lse_fields/allOf[LseFields]/email_notification_settings response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the results/items/user/lse_fields/allOf[LseFields]/invite_expired response's property type/format changed from string/ to boolean/ for status 200

      response-property-type-changed

    • the results/items/user/pause response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • added the new optional query request parameter is_deleted

      new-optional-request-parameter

    • added the new optional query request parameter user__last_activity__gte

      new-optional-request-parameter

    • added the new optional query request parameter user__last_activity__lte

      new-optional-request-parameter

    • added the new optional query request parameter user_type

      new-optional-request-parameter

    • added the required property results/items/user_type to the response with the 200 status

      response-required-property-added

Of the 97 revisions, 1 has no diff computed.