---
updatedAt: 2025-11-12T03:00:11.000Z
agentTools:
  projectIndex: https://docs.sevenbridges.com/llms.txt
---

# Get an automation member's permissions

This returns the permissions of an automation member. Members may have the following permissions:

  * Read
  * Write
  * Copy
  * Execute
  * Admin

Permissions are granted at the automation-level. You may, for instance, have admin permission in one automation, execute permission in another, and read-only permission in a third.

> 📘 If you are using Seven Bridges Platform EU, please use the following endpoint: `https://eu-api.sbgenomics.com/v2/automation/automations/{automation_id}/members/{username}`

## Response

[See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response](https://docs.sevenbridges.com/reference/api-status-codes).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "seven-bridges-platform",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sbgenomics.com/v2"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/automation/automations/{automation_id}/members/{username}": {
      "get": {
        "summary": "Get an automation member's permissions",
        "description": "This returns the permissions of an automation member. Members may have the following permissions:\n\n  * Read\n  * Write\n  * Copy\n  * Execute\n  * Admin\n\nPermissions are granted at the automation-level. You may, for instance, have admin permission in one automation, execute permission in another, and read-only permission in a third.",
        "operationId": "get-an-automation-members-permissions",
        "parameters": [
          {
            "name": "X-SBG-Auth-Token",
            "in": "header",
            "description": "Your Seven Bridges Platform [authentication token](doc:get-your-authentication-token). For security reasons, token will not be automatically populated in the generated code sample. Please replace `<your-token-here>` with your token before executing this call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          },
          {
            "name": "X-SBG-Advance-Access",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "advance"
            }
          },
          {
            "name": "automation_id",
            "in": "path",
            "description": "The ID of the automation the member belongs to.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "username",
            "in": "path",
            "description": "The username of the user you are querying.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"href\": \"https://api.sbgenomics.com/v2/automation/automations/48f79ccf-12b3-45b6-789c-b1e8d88dabcd/members/rfranklin\",\n    \"username\": \"rfranklin\",\n    \"permissions\": {\n        \"write\": true,\n        \"read\": true,\n        \"copy\": true,\n        \"execute\": true,\n        \"admin\": true\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "href": {
                      "type": "string",
                      "example": "https://api.sbgenomics.com/v2/automation/automations/48f79ccf-12b3-45b6-789c-b1e8d88dabcd/members/rfranklin"
                    },
                    "username": {
                      "type": "string",
                      "example": "rfranklin"
                    },
                    "permissions": {
                      "type": "object",
                      "properties": {
                        "write": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "read": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "copy": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "execute": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "admin": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "python",
              "code": "from sevenbridges import Api\n\napi = Api(url='https://api.sbgenomics.com/v2',\n          token='7eab0822exAMPle23d7d14c2eEXampLE',\n          advance_access=True)\n\nautomation = api.automations.get(id='48f79ccf-12b3-45b6-789c-b1e8d88dabcd')\n\n# send GET request to SB API\nmember = automation.get_member(username='rfranklin')\n\nprint(member.permissions)"
            }
          ],
          "samples-languages": [
            "python"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "X-SBG-Auth-Token",
        "value": "<your-token-here>"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```