/api/v1/config/role/{role_id}:
  delete:
    description: Delete an item.
    operationId: api.v1.Config.Roles.resource.remove
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: role_id
      required: true
      schema:
        enum:
        - Machine
        - REJECT
        - User
        - default
        - gaming
        - guest
        - voice
        type: string
    responses:
      '200':
        $ref: '#/components/responses/Deleted'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/Roles
  description: pf::UnifiedApi::Controller::Config::Roles
  get:
    description: Get an item.
    operationId: api.v1.Config.Roles.resource.get
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: role_id
      required: true
      schema:
        enum:
        - Machine
        - REJECT
        - User
        - default
        - gaming
        - guest
        - voice
        type: string
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigRoleWrapped'
        description: Request successful. Response contains a specific resource.
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/Roles
  options:
    description: Get meta for an item.
    operationId: api.v1.Config.Roles.resource.resource_options
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: role_id
      required: true
      schema:
        enum:
        - Machine
        - REJECT
        - User
        - default
        - gaming
        - guest
        - voice
        type: string
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigRolesMeta'
        description: Request successful. Response contains meta for a resource.
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/Roles
  patch:
    description: Update an item.
    operationId: api.v1.Config.Roles.resource.update
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: role_id
      required: true
      schema:
        enum:
        - Machine
        - REJECT
        - User
        - default
        - gaming
        - guest
        - voice
        type: string
    requestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ConfigRole'
    responses:
      '201':
        $ref: '#/components/responses/Updated'
      '400':
        $ref: '#/components/responses/BadRequest'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - Config/Roles
  put:
    description: Replace an item.
    operationId: api.v1.Config.Roles.resource.replace
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: role_id
      required: true
      schema:
        enum:
        - Machine
        - REJECT
        - User
        - default
        - gaming
        - guest
        - voice
        type: string
    requestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ConfigRole'
    responses:
      '201':
        $ref: '#/components/responses/Created'
      '400':
        $ref: '#/components/responses/BadRequest'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - Config/Roles
