GET
List profile assignments (company)
Company space User accounts only For: Administrator · Permission: user_profiles.list Conditions
  • The member_id filter must be a member of the space.
  • Cursor pagination only: per_page is limited to 1000.
Part of Assign access to people.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

per_page
integer | null

Number of items per page.

Required range: 1 <= x <= 1000
cursor
string | null

Position in the list. Pass the meta.next_cursor or meta.prev_cursor value of the previous page; leave it out to get the first page.

sort_by
enum<string> | null

Field the list is sorted by.

Available options:
id,
name,
created_at,
updated_at
sort_order
enum<string> | null

asc for ascending order, desc for descending order.

Available options:
asc,
desc
name
string | null

Not used by this list: assignments cannot be filtered by name, and the value is ignored. Filter by member_id, is_active or is_builtin.

Maximum string length: 255
is_builtin
boolean | null

Keeps only assignments whose profile is built-in (true, for example administrator or read only) or custom (false). Leave out for both.

response
enum<string>
default:resource

Response mode. Default resource; none answers 204 No Content.

Available options:
resource
fields
string

Comma-separated JSON keys of the root resource (id is always rendered). Available: id, is_active, updated_at, created_at, is_default, working_hours, is_current, is_direct_seller.

include
string

Comma-separated include paths, each optionally followed by its fields in parentheses: units(id,sku),units.uomUnit(id,name). Max depth 6, max 40 paths. Available: profile, profile.groupedRoles, company, company.organization, client, organization.

Response

Resource.

data
UserProfileResource · object[]
required

Items of this page.

meta
object
required

Pagination details.