Overview
Error Handling

Methods

API Documentation (API Version v1)

Account/User/

DESCRIPTION

This section contains methods to manage the various users an account contains. This includes both StormOnDemand.com users and api users.

permitted

URL:

https://api.liquidweb.com/v1/Account/User/permitted

Description:

Determines whether the authenticated user has access to other API methods.

Can check if the user is permitted for either API actions or permissions actions. If neither is specified, a best guess attempt is made to determine which.

Be aware that if no actions are specified and "permissions" is set as the action type, no useful data will be returned.

Parameters:

ParameterType
action_typeOne of: 'api', 'permissions'
actionsAn array of an ltree-based action name, such as Permissions.User.Delete
all

A boolean value (0 or 1).

Whether or not to return all results even if they are denied

as_endpoints

A boolean value (0 or 1).

Return the results formatted as paths to API endpoints

version

One of: 'bleed', 'v1', 'v2', 'v3'

If a version is specified, only return API actions specific to that version

Returns:

FieldType
permissionsAn associative array of arbitrary keys and values.

Possible Errors:

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