Interface CockpitAddRegistrationPayload

Payload for add an user to the Cockpit

interface CockpitAddRegistrationPayload {
    expiration_date: Date;
    organisationId: string;
    password: string;
    role: string;
    user: {
        email: string;
        groups?: string[];
        name: string;
        type: string;
        username: string;
    };
}

Properties

expiration_date: Date
organisationId: string
password: string
role: string
user: {
    email: string;
    groups?: string[];
    name: string;
    type: string;
    username: string;
}

user data attributes username, name, email, are Required and are self explaining type: is Required and Define the type of the user [internal┃external┃service_account┃internal_service_account] groups : Optional, array of uuids of the groups the user is in