Skip to main content

core_application_entitlements_create

POST 

/api/v3//core/application_entitlements/

ApplicationEntitlement Viewset

Request

Bodyrequired

    namestringrequired

    Possible values: non-empty

    appuuidrequired
    attributes

Responses

Schema
    pbm_uuiduuidrequired
    namestringrequired
    appuuidrequired
    attributes

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/core/application_entitlements/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"name\": \"string\",\n \"app\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"attributes\": {}\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
Body required
{
  "name": "string",
  "app": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "attributes": {}
}