/  Yamcs HTTP API  /  IAM  /  List Roles

List RolesΒΆ

List roles

URI Template

GET /api/roles

Response Type

interface ListRolesResponse {
  roles: RoleInfo[];
}

Related Types

interface RoleInfo {

  // Role name
  name: string;

  // Role description
  description: string;

  // System privileges
  systemPrivileges: string[];

  // Object privileges
  objectPrivileges: ObjectPrivilegeInfo[];

  // Whether this role is assigned by default
  default: boolean;
}

interface ObjectPrivilegeInfo {

  // Privilege type
  type: string;

  // Objects of this type
  objects: string[];
}