Skip to content

Get access packages​

GET
/api/v2/access-packages

Returns a list of access packages

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Access package list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create a new access package​

POST
/api/v2/access-packages

Create access package

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Access package created

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get access package by ID​

GET
/api/v2/access-packages/{id}

Returns a single access package

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Access package Id

Type
integer
Required
Format
"int64"

Responses​

Access package object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete an access package​

DELETE
/api/v2/access-packages/{id}

Delete an access package

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

ID of the access package to delete

Type
integer
Required
Format
"int64"

Responses​

Access package deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update an access package​

PATCH
/api/v2/access-packages/{id}

Update an existing access package

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

ID of the access package to update

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Access package updated

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI