Skip to main content

Check a users privileges

POST 

https://api.aleph-alpha.com/check_privileges

Post an array of permissions as an authenticated users. We return the subset of the posted permissions that have been granted to the user.

Responses

OK

Schema
  • Array [
  • permissionstring
  • ]

Authorization: http

name: tokentype: httpscheme: bearerdescription: Can be generated in your [Aleph Alpha profile](https://app.aleph-alpha.com/profile)
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.aleph-alpha.com/check_privileges");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.aleph-alpha.com
Auth
ResponseClear

Click the Send API Request button above and see the response here!