io7m | single-page | multi-page | epub | Idstore User Manual 1.0.0
7.2. Admin Shell Command Reference
Previous
7.2. Admin Shell Command Reference
Up
7.2.2. admin-ban-delete
Next

# 7.2.1. admin-ban-create

- 7.2.1.1. Name
- 7.2.1.2. Description
- 7.2.1.3. Example

## 7.2.1.1. Name

1
admin-ban-create - Ban an admin.

## 7.2.1.2. Description

1
The admin-ban-create command creates a new ban for an admin.

### 7.2.1.2.2. Parameters

Parameter | Type | Cardinality | Default | Description
--- | --- | --- | --- | ---
--admin | java.util.UUID | [1, 1] |  | The admin ID.
--expires-on | java.time.OffsetDateTime | [0, 1] |  | The time/date the ban expires.
--reason | java.lang.String | [1, 1] |  | The ban reason.

## 7.2.1.3. Example

### 7.2.1.3.1. Example

    [idstore]# admin-ban-create
    > --admin 3a193a61-9427-4c24-8bd4-667d19914970
    > --expires-on 2100-01-01T00:00:00+00:00
    > --reason "You did something objectionable"

7.2. Admin Shell Command Reference
Previous
7.2. Admin Shell Command Reference
Up
7.2.2. admin-ban-delete
Next
io7m | single-page | multi-page | epub | Idstore User Manual 1.0.0