> ## Documentation Index
> Fetch the complete documentation index at: https://secdocs.asikoexpress.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Assign role to user (Super Admin only)



## OpenAPI

````yaml /openapi/admin-service.json post /v1/admin/users/{id}/roles/{role}
openapi: 3.0.0
info:
  title: Asiko Admin Service
  description: Admin-only actions — orchestrates calls into each owning service
  version: '1.0'
  contact: {}
servers:
  - url: https://asikodevapi.candourit.io
    description: Production (via api-gateway)
  - url: http://localhost:3000
    description: Local development (via api-gateway)
security: []
tags:
  - name: admin-users
    description: ''
  - name: admin-trade-accounts
    description: ''
paths:
  /v1/admin/users/{id}/roles/{role}:
    post:
      tags:
        - admin-users
      summary: Assign role to user (Super Admin only)
      operationId: AdminUsersController_assignRole
      parameters:
        - name: authorization
          required: true
          in: header
          schema:
            type: string
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: role
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````