Asana API

Getting access, Developing, Testing

Back to Asana

Get Team Memberships

Returns compact team membership records.

Input

type: object properties: parameters: type: object properties: team: type: string description: Globally unique identifier for the team. user: type: string description: >- A string identifying a user. This can either be the string "me", an email, or the gid of a user. This parameter must be used with the workspace parameter. workspace: type: string description: >- Globally unique identifier for the workspace. This parameter must be used with the user parameter. title: Parameters

Output

type: object properties: data: type: array items: 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: task x-insert-after: gid user: 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: task x-insert-after: gid name: type: string description: '*Read-only except when same user as requester*. The user’s name.' example: Greg Sanchez team: 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: task x-insert-after: gid name: description: The name of the team. type: string example: Marketing is_guest: type: boolean description: Describes if the user is a guest in the team. example: false is_limited_access: type: boolean description: Describes if the user has limited access to the team. example: false is_admin: type: boolean description: Describes if the user is a team admin. example: false