GET
List location access limits
Company space For: Administrator · Permission: asset_restrictions_locations.list Conditions
  • Only restrictions on locations that still exist are returned.
  • When both agent_id and user_profile_id are sent, agent_id wins and user_profile_id is ignored.
  • Deleted restrictions are never listed.
Part of Limit access to locations and books.

Authorizations

Authorization
string
header
required

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

Query Parameters

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, asset_id, company_id, restrictable_type, restrictable_id, deleted_at, created_at, updated_at.

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: asset.

Response

200 - application/json

Resource.

data
AssetRestrictionResource · object[]
required

Items of this page.

meta
object
required

Pagination details.