Overview
Error Handling

Methods

API Documentation (API Version bleed)

Account/User/StateData/

DESCRIPTION

This section of the public API provides methods pertaining to customer permissions user's StateData

add

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/add

Description:

Add user StateData for a given key

Parameters:

ParameterTypeNotes
dataA valid JSON structure* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

details

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/details

Description:

Details of user StateData for a given key and UUID

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidA valid UUID (Universally Unique IDentifier).* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

listForKey

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/listForKey

Description:

List user StateData for a given key and optionally UUID.

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidA valid UUID (Universally Unique IDentifier).

Returns:

FieldType
dataAn array of an associative array of arbitrary keys and values.
keyA single word, consisting of only letters, digits, and underscores.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

remove

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/remove

Description:

Remove user StateData for a given key and UUID or array of UUIDs

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidEither: a valid UUID (Universally Unique IDentifier).; or An array of a valid UUID (Universally Unique IDentifier).* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

replace

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/replace

Description:

Replace all user StateData for a given key

Parameters:

ParameterTypeNotes
dataA valid JSON structure* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
dataAn array of an associative array of arbitrary keys and values.
keyA single word, consisting of only letters, digits, and underscores.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

update

URL:

https://api.liquidweb.com/bleed/Account/User/StateData/update

Description:

Update user StateData 'data' for a given key.

'data' must include the existing `uuid` as part of its structure.

Parameters:

ParameterTypeNotes
dataA valid JSON structure* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types