Skip to content

groups_user_list not returning fields specified in API documentation #53

Description

@pfdan

When running

api_response = apiv2_instance.groups_user_list( content_type, accept)
print(api_response)

each group object is returned as in the link: https://github.com/TheJumpCloud/jcapi-python/blob/master/jcapiv2/docs/UserGroup.md

{'attributes': None,
 'id': 'redacted',
 'name': 'redacted',
 'type': 'user_group'}

However, in https://docs.jumpcloud.com/api/2.0/index.html#tag/User-Groups/operation/groups_user_list

I can see that the format should contain an "email" field amongst other things.

I have tried using
api_response = apiv2_instance.groups_user_list( content_type, accept, fields=["email", "id", "name"])
to no avail.

Am I doing something wrong, or is there an issue here? Running the snippet from the API docs in Python returns all fields as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions