Class: Users

Users

Manage Users

Constructor

new Users(endPoint)

Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

add(userOptions) → {JSON}

Parameters:
Name Type Description
userOptions JSON [user options]
Source:
Returns:
[return a JSON response]
Type
JSON

associateOrganization(userGuid, orgGuid) → {JSON}

Parameters:
Name Type Description
userGuid String [user guid]
orgGuid String [space guid]
Source:
Returns:
[return a JSON response]
Type
JSON

associateSpace(userGuid, spaceGuid) → {JSON}

Parameters:
Name Type Description
userGuid String [user guid]
spaceGuid String [space guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getUsers() → {JSON}

Source:
Returns:
[return a JSON response]
Type
JSON

remove(guid) → {JSON}

Parameters:
Name Type Description
guid String [user guid]
Source:
Returns:
[return a JSON response]
Type
JSON