Class

AccountUserResource

AccountUserResource()

The AccountUserResource allow consumers of the CloudBlue Connect API to access information about Users related to an account.

Constructor

# new AccountUserResource()

Extends

Members

string

# baseUri

Returns the base URI of the resource mapped by this class.

Inherited From:

Methods

# async create(obj) → {object}

Create a new resource.

Parameters:
Name Type Description
obj object

The resource to create.

Inherited From:

The created resource.

object

# async delete(id)

Delete a resource.

Parameters:
Name Type Description
id string

The unique identifier of the resource to delete.

Inherited From:

# async fetch(url, options)

Fetch the URL and returns a response.

Parameters:
Name Type Description
url string

the URL to fetch.

options object

the request options.

Inherited From:

# async get(id) → {object}

Retrieve a resource by its unique identifier.

Parameters:
Name Type Description
id string

The unique identifier of the resource to retrieve.

Inherited From:

The resource.

object

Search for a resource.

Parameters:
Name Type Description
filters object

The query to send to the server as a RQL object.

Inherited From:

An array of resources that match the provided filters.

Array

# async update(id, obj) → {object}

Update a resource.

Parameters:
Name Type Description
id string

The unique identifier of the resource to update.

obj object

The eventually partial resource to update.

Inherited From:

The updated resource.

object