Skip to main content

List organization users

GET 

/organizations/organization/users_with_access

This will return a simple list of users with any access to this organization. This endpoint is available to all users with access to the organization therefore allows them to see a small amount of information about their peers. This is useful when combined with other API actions that require the ID of a fellow user (such as when determining which users to assign a virtual machine).

Scopes

  • organizations:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    organization[id] string

    All 'organization[]' params are mutually exclusive, only one can be provided.

    organization[sub_domain] string

    All 'organization[]' params are mutually exclusive, only one can be provided.

    page integer

    Possible values: >= 1

    Default value: 1

    The page number to request. If not provided, the first page will be returned.

    per_page integer

    Possible values: >= 1

    Default value: 30

    The number of items to return per page. If not provided, the default value will be used.

Responses

This will return a simple list of users with any access to this organization. This endpoint is available to all users with access to the organization therefore allows them to see a small amount of information about their peers. This is useful when combined with other API actions that require the ID of a fellow user (such as when determining which users to assign a virtual machine).

Schema

    pagination

    object

    required

    current_page integer

    The current page

    total_pages integernullable

    The total number of pages

    total integernullable

    The total number of items across all pages

    per_page integer

    The number of items per page

    large_set boolean

    Is this a large set and therefore the total number of records cannot be returned?

    users

    object[]

    required

  • Array [

  • user

    object

    nullable

    id string
    first_name string
    last_name string
    avatar_url string
  • ]

Loading...