This method is used to create a license for the specific customer. The ID of customer needs to be passed in the URL of the request (customer_id). For example:

https://public-api.devmate.com/v2/customers/45/licenses

this request will create a license for the customer with ID 45.

License ID can be found in DevMate Dashboard under App Settings > License Types.

Description of response fields see here.

10001000

In case of success, you will receive an activation number within the server response, so you may provide it to your customer.

Example shows the creation of license with ID 26.

Response Codes

201

License was successfully created

400

Bad request. Customer id was not specified or incorrect or wrong license id provided

401

Authorization failed

500

Server error

Language
Authentication
Header
Click Try It! to start a request and see the response here!