Asana · Schema

DeprecatedPortfolioMembershipCompact

This object determines if a user is a member of a portfolio.

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
gid string Globally unique identifier of the resource, as a string.
resource_type string The base type of this resource.
portfolio object [Opt In](/docs/inputoutput-options). The portfolio the user is a member of.
user object
access_level string Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet.
View JSON Schema on GitHub

JSON Schema

asana-deprecatedportfoliomembershipcompact-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeprecatedPortfolioMembershipCompact",
  "title": "DeprecatedPortfolioMembershipCompact",
  "description": "This object determines if a user is a member of a portfolio.",
  "type": "object",
  "properties": {
    "gid": {
      "description": "Globally unique identifier of the resource, as a string.",
      "type": "string",
      "readOnly": true,
      "example": "12345",
      "x-insert-after": false
    },
    "resource_type": {
      "description": "The base type of this resource.",
      "type": "string",
      "readOnly": true,
      "example": "portfolio_membership",
      "x-insert-after": "gid"
    },
    "portfolio": {
      "description": "[Opt In](/docs/inputoutput-options). The portfolio the user is a member of.",
      "$ref": "#/components/schemas/PortfolioCompact"
    },
    "user": {
      "$ref": "#/components/schemas/UserCompact"
    },
    "access_level": {
      "description": "Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet.",
      "type": "string",
      "enum": [
        "admin",
        "editor",
        "viewer"
      ],
      "readOnly": true,
      "example": "admin"
    }
  }
}