Skip to main content

enterprise_license_partial_update

PATCH 

/api/v3//enterprise/license/:license_uuid/

License Viewset

Request

Path Parameters

    license_uuid uuidrequired

    A UUID string identifying this License.

Body

    key string

    Possible values: non-empty

Responses

Schema

    license_uuid uuidrequired
    name stringrequired
    key stringrequired
    expiry date-timerequired
    internal_users integerrequired
    external_users integerrequired

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "/api/v3/enterprise/license/:license_uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\n \"key\": \"string\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
Body
{
  "key": "string"
}