/api/v1/admin/roles/initialize_defaults/

Initialize default roles.

Creates the default viewer, operator, analyst, admin, and superadmin roles
if they don't exist.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Serializer for roles.

string
required
length between 1 and 50
string
required
length between 1 and 100
string | null
string

List of permission strings

integer
-2147483648 to 2147483647

Higher priority roles appear first

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json