GET
/
entitlement
/
feature-assignments
curl -X GET \
 /entitlement/feature-assignments \
 --header "Authorization: Bearer <token>"
{
  "data": [
    {
      "id": "<string>",
      "object": "product-price",
      "objectId": "<string>",
      "feature": {
        "id": "feature-1",
        "name": "number of users",
        "description": "This feature allows you to manage the number of users in your account.",
        "status": "active",
        "type": "switch",
        "config": [
          {
            "value": "<string>",
            "label": "<string>"
          }
        ],
        "unit": "<string>"
      },
      "name": "<string>",
      "value": "<string>",
      "validFrom": "2023-11-07T05:31:56Z",
      "validUntil": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "pagination": {
      "totalItems": 123,
      "itemsPerPage": 123,
      "currentPage": 123,
      "lastPage": 123,
      "pageTotalItems": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Query Parameters

feature
string
required

The ID of the feature

object
enum<string>
required

The object type

objectId
string
required

The ID of the object

page
integer
default:
1

The collection page number

limit
integer
default:
30

The number of items per page

Required range: 0 <= x <= 100
id
string
id[]
string[]
name
string
description
string
status
string
status[]
string[]
type
string
type[]
string[]

Response

200
application/json
Feature collection
data
object[]

Get feature assignments

meta
object