All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
enterpriseLicenseCreate | POST /enterprise/license/ | |
enterpriseLicenseDestroy | DELETE /enterprise/license/{license_uuid}/ | |
enterpriseLicenseForecastRetrieve | GET /enterprise/license/forecast/ | |
enterpriseLicenseGetInstallIdRetrieve | GET /enterprise/license/get_install_id/ | |
enterpriseLicenseList | GET /enterprise/license/ | |
enterpriseLicensePartialUpdate | PATCH /enterprise/license/{license_uuid}/ | |
enterpriseLicenseRetrieve | GET /enterprise/license/{license_uuid}/ | |
enterpriseLicenseSummaryRetrieve | GET /enterprise/license/summary/ | |
enterpriseLicenseUpdate | PUT /enterprise/license/{license_uuid}/ | |
enterpriseLicenseUsedByList | GET /enterprise/license/{license_uuid}/used_by/ |
open class func enterpriseLicenseCreate(licenseRequest: LicenseRequest, completion: @escaping (_ data: License?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseRequest = LicenseRequest(key: "key_example") // LicenseRequest |
EnterpriseAPI.enterpriseLicenseCreate(licenseRequest: licenseRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseRequest | LicenseRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseDestroy(licenseUuid: UUID, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseUuid = 987 // UUID | A UUID string identifying this License.
EnterpriseAPI.enterpriseLicenseDestroy(licenseUuid: licenseUuid) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | UUID | A UUID string identifying this License. |
Void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseForecastRetrieve(completion: @escaping (_ data: LicenseForecast?, _ error: Error?) -> Void)
Forecast how many users will be required in a year
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
EnterpriseAPI.enterpriseLicenseForecastRetrieve() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseGetInstallIdRetrieve(completion: @escaping (_ data: InstallID?, _ error: Error?) -> Void)
Get install_id
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
EnterpriseAPI.enterpriseLicenseGetInstallIdRetrieve() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseList(name: String? = nil, ordering: String? = nil, page: Int? = nil, pageSize: Int? = nil, search: String? = nil, completion: @escaping (_ data: PaginatedLicenseList?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let name = "name_example" // String | (optional)
let ordering = "ordering_example" // String | Which field to use when ordering the results. (optional)
let page = 987 // Int | A page number within the paginated result set. (optional)
let pageSize = 987 // Int | Number of results to return per page. (optional)
let search = "search_example" // String | A search term. (optional)
EnterpriseAPI.enterpriseLicenseList(name: name, ordering: ordering, page: page, pageSize: pageSize, search: search) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | [optional] | |
ordering | String | Which field to use when ordering the results. | [optional] |
page | Int | A page number within the paginated result set. | [optional] |
pageSize | Int | Number of results to return per page. | [optional] |
search | String | A search term. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicensePartialUpdate(licenseUuid: UUID, patchedLicenseRequest: PatchedLicenseRequest? = nil, completion: @escaping (_ data: License?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseUuid = 987 // UUID | A UUID string identifying this License.
let patchedLicenseRequest = PatchedLicenseRequest(key: "key_example") // PatchedLicenseRequest | (optional)
EnterpriseAPI.enterpriseLicensePartialUpdate(licenseUuid: licenseUuid, patchedLicenseRequest: patchedLicenseRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | UUID | A UUID string identifying this License. | |
patchedLicenseRequest | PatchedLicenseRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseRetrieve(licenseUuid: UUID, completion: @escaping (_ data: License?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseUuid = 987 // UUID | A UUID string identifying this License.
EnterpriseAPI.enterpriseLicenseRetrieve(licenseUuid: licenseUuid) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | UUID | A UUID string identifying this License. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseSummaryRetrieve(completion: @escaping (_ data: LicenseSummary?, _ error: Error?) -> Void)
Get the total license status
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
EnterpriseAPI.enterpriseLicenseSummaryRetrieve() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseUpdate(licenseUuid: UUID, licenseRequest: LicenseRequest, completion: @escaping (_ data: License?, _ error: Error?) -> Void)
License Viewset
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseUuid = 987 // UUID | A UUID string identifying this License.
let licenseRequest = LicenseRequest(key: "key_example") // LicenseRequest |
EnterpriseAPI.enterpriseLicenseUpdate(licenseUuid: licenseUuid, licenseRequest: licenseRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | UUID | A UUID string identifying this License. | |
licenseRequest | LicenseRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func enterpriseLicenseUsedByList(licenseUuid: UUID, completion: @escaping (_ data: [UsedBy]?, _ error: Error?) -> Void)
Get a list of all objects that use this object
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient
let licenseUuid = 987 // UUID | A UUID string identifying this License.
EnterpriseAPI.enterpriseLicenseUsedByList(licenseUuid: licenseUuid) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | UUID | A UUID string identifying this License. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]