Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 804 Bytes

clients.md

File metadata and controls

39 lines (27 loc) · 804 Bytes

Clients Endpoint Examples

Activate Client

from gremlinapi.clients import GremlinAPIClients as clients
team_id = 'TEAM_ID'
client_guid = 'CLIENT_GUID'

response = clients.activate_client(guid=client_guid, teamId=team_id)

Deactivate Client

from gremlinapi.clients import GremlinAPIClients as clients
team_id = 'TEAM_ID'
client_guid = 'CLIENT_GUID'

response = clients.deactivate_client(guid=client_guid, teamId=team_id)

List Clients

from gremlinapi.clients import GremlinAPIClients as clients
team_id = 'TEAM_ID'

client_list = clients.list_clients(teamId=team_id)

List Active Clients

from gremlinapi.clients import GremlinAPIClients as clients
team_id = 'TEAM_ID'

client_list = clients.list_active_clients(teamId=team_id)