Latest version: v2.49

Provisioning User Licenses

Follow

GET /{EnvironmentName}/UserLicenses/

Description:Gets the User Licenses summary

NOTE: Is ONLY available when UseUserLicenses is configured to True

Name

Located in

Description

Required

Schema

EnvironmentName

Path

Name of the Environment

Yes

string

 

Responses

Code

Description

Schema

200

The User Licenses summary

{
purchasedLicenses:
 integer
The number of purchased user licenses

usedLicenses:
 integer
The number of user licenses used
}

403

The Provisioning Key in the configuration is not defined or empty.
The Provisioning API is not enabled in the configuration.
The Provisioning Key in the header does not match the configured value

 

404

Resource is not found

500

Internal server error. This could be caused by passing an incorrect data object

 

Example

GET https://portal.workspace365.net/Provisioning/example/UserLicenses/HTTP/1.1
Accept: application/json
Host: portal.workspace365.net
ProvisioningKey: C7656554-85A2-4AFD-BAB7-18C71593C4D2
X-Requested-With: XMLHttpRequest

 

PUT /{EnvironmentName}/UserLicenses/Count/

Description:Gets the User Licenses summary

 NOTE: Is ONLY available when UseUserLicenses is configured to True

Name

Located in

Description

Required

Schema

EnvironmentName

Path

Name of the Environment

Yes

string

LicenseCount

Body

Total amount of purchased User Licenses

Yes

integer

 

Responses

Code

Description

Schema

200

Succes

 

400

Array of Validation Results

[ValidationResult]

403

The Provisioning Key in the configuration is not defined or empty.
The Provisioning API is not enabled in the configuration.
The Provisioning Key in the header does not match the configured value

 

404

Resource is not found

500

Internal server error. This could be caused by passing an incorrect data object

 

Example

PUT https://portal.workspace365.net/Provisioning/example/UserLicenses/Count/HTTP/1.1
Accept: application/json
Content-Length: 2
Content-Type: application/json
Host: portal.workspace365.net
ProvisioningKey: C7656554-85A2-4AFD-BAB7-18C71593C4D2
X-Requested-With: XMLHttpRequest

99
Have more questions? Submit a request

Comments