Zum Hauptinhalt springen
GET
/
entitlement
/
feature-assignments
cURL
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
    }
  }
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Abfrageparameter

feature
string
erforderlich

The ID of the feature

object
enum<string>
erforderlich

The object type

Verfügbare Optionen:
product-priceproduct
objectId
string
erforderlich

The ID of the object

page
integer
Standard:1

The collection page number

limit
integer
Standard:30

The number of items per page

Erforderlicher Bereich: 0 <= x <= 100
id
string
id[]
string[]
name
string
description
string
status
string
status[]
string[]
type
string
type[]
string[]

Antwort

Feature collection

data
object[]
meta
object