Skip to main content
POST
/
product_access
/
edit
/
{id}
cURL
curl --request POST \
  --url https://{portalApiUrl}/product_access/edit/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_access_certificate": "1"
}
'
{
  "status": true,
  "result": {
    "product_access_id": 123,
    "product_access_product_id": 123,
    "product_access_user_id": 123,
    "product_access_certificate": "<string>",
    "product_access_created_date": "2023-11-07T05:31:56Z",
    "product_access_updated_date": "2023-11-07T05:31:56Z",
    "product_access_expired_date": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.illuxi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication token obtained from POST /token

Path Parameters

id
integer
required

ID of product_access to edit

Body

application/json
product_access_product_id
integer

ID of the product this access grants

product_access_status
enum<string>

Status of the access record

Available options:
active,
inactive,
expired
product_access_certificate
string | null

Whether a certificate was issued (1 = yes)

product_access_expired_date
string<date-time> | null

Date the access expires

Response

updated product_access

status
boolean
result
object