> ## Documentation Index
> Fetch the complete documentation index at: https://veridical-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Assign Admin Member Role



## OpenAPI

````yaml /openapi.json put /api/v1/admin/members/role
openapi: 3.1.0
info:
  title: Veridical API
  version: 1.0.0
servers:
  - url: https://api.veridical.dev
security: []
paths:
  /api/v1/admin/members/role:
    put:
      tags:
        - control
      summary: Assign Admin Member Role
      operationId: assign_admin_member_role_api_v1_admin_members_role_put
      parameters:
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberRoleAssign'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: >-
                  Response Assign Admin Member Role Api V1 Admin Members Role
                  Put
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    MemberRoleAssign:
      properties:
        identity_provider:
          default: workos
          maxLength: 100
          minLength: 1
          title: Identity Provider
          type: string
        identity_subject:
          maxLength: 200
          minLength: 1
          title: Identity Subject
          type: string
        role:
          maxLength: 200
          minLength: 1
          title: Role
          type: string
        workspace_id:
          maxLength: 200
          minLength: 1
          title: Workspace Id
          type: string
      required:
        - workspace_id
        - identity_subject
        - role
      title: MemberRoleAssign
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````