Function getSpaceAssignments

  • Retrieves the assignments of the space matching the query. Each assignment represents one user or group and their corresponding roles in the space. Assignments are not shown for the owner of a space, who receive all assignableRoles by default.

    Parameters

    • spaceId: string

      The ID of the space of the assignment.

    • query: {
          assigneeId?: string;
          limit?: number;
          next?: string;
          prev?: string;
          type?: AssignmentType;
      }

      an object with query parameters

      • OptionalassigneeId?: string

        Filters assignment for a specific assigneeid.

      • Optionallimit?: number

        Maximum number of assignments to return.

      • Optionalnext?: string

        The next page cursor. Next links make use of this.

      • Optionalprev?: string

        The previous page cursor. Previous links make use of this.

      • Optionaltype?: AssignmentType

        The type of assignment. Supported values are user or group.

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetSpaceAssignmentsHttpResponse>

    GetSpaceAssignmentsHttpError