> ## Documentation Index
> Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear a member's role

> Removes a member's role. With role-based access control on, a member without a role holds no organization permissions, and the role's guardrail no longer applies to them. Same rules as setting a role: RBAC must be enabled (409) and the owner's role cannot be changed (403). Returns the updated member. Requires the `manage:write` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/members/{email}/role/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/members/{email}/role/:
    delete:
      tags:
        - Members
      summary: Clear a member's role
      description: >-
        Removes a member's role. With role-based access control on, a member
        without a role holds no organization permissions, and the role's
        guardrail no longer applies to them. Same rules as setting a role: RBAC
        must be enabled (409) and the owner's role cannot be changed (403).
        Returns the updated member. Requires the `manage:write` scope.
      operationId: manage_members_role_destroy
      parameters:
        - in: path
          name: email
          schema:
            type: string
          description: The member's email address.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganisationUsers'
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  schemas:
    OrganisationUsers:
      type: object
      description: >-
        A member of the organization: identity, role, rate limits, directory
        groups and the API keys

        attributed to them (never their secrets).
      properties:
        email:
          type: string
          format: email
          nullable: true
          maxLength: 500
        fullname:
          type: string
          pattern: ^[a-zA-Z\'\- ]+$
          maxLength: 60
        is_confirmed:
          type: boolean
        role:
          type: string
          readOnly: true
        guardrail:
          type: string
          readOnly: true
        effective_rate_limit:
          type: string
          readOnly: true
        tokens:
          type: string
          readOnly: true
        is_org_owner:
          type: boolean
          readOnly: true
        directory_groups:
          type: string
          readOnly: true
      required:
        - directory_groups
        - effective_rate_limit
        - fullname
        - guardrail
        - is_org_owner
        - role
        - tokens
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.