Overview
Error Handling

Methods

API Documentation (API Version bleed)

Server/Credentials/

DESCRIPTION

This section of the API provides server credentials information. A credential could be for the root (Linux) or Adminstrator (Windows) login details or an application, such as WordPress.

create

URL:

https://api.liquidweb.com/bleed/Server/Credentials/create

Description:

Parameters:

ParameterTypeNotes
auth_dataA string permitting tabs, carriage returns and newlines* Required
auth_typeA single word, consisting of only letters, digits, and underscores.* Required
descriptionA string of text, containing no newlines or other control characters.* Required
locationA string of text, containing no newlines or other control characters.* Required
nameA string consisting of only letters, digits, hyphens, spaces, and underscores.* Required
typeThe value: 'app'* Required
uniq_idA six-character identifier, containing only capital letters and digits.* Required
usernameA string of text, containing no newlines or other control characters.* Required

Returns:

FieldType
accntA valid account number, up to 6 digits in length.
auth_dataA string permitting tabs, carriage returns and newlines
auth_typeA single word, consisting of only letters, digits, and underscores.
descriptionA string of text, containing no newlines or other control characters.
idA valid id number (a positive integer).
locationA string of text, containing no newlines or other control characters.
nameA string consisting of only letters, digits, hyphens, spaces, and underscores.
server_typeOne of: 'Bare.Metal', 'Bare.Metal.GPU', 'Bare.Metal.GPU.WIN', 'Bare.Metal.WIN', 'Cloud.Metal', 'Cloud.Metal.WIN', 'Cloud.VPS', 'Cloud.VPS.WIN', 'SS.VM', 'SS.VM.R', 'SS.VM.WIN', 'SS.VPS', 'SS.VPS.WIN', 'SS.VPS.WT'
typeThe value: 'app'
uniq_idA six-character identifier, containing only capital letters and digits.
usernameA string of text, containing no newlines or other control characters.

Possible Errors:

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

delete

URL:

https://api.liquidweb.com/bleed/Server/Credentials/delete

Description:

Parameters:

ParameterTypeNotes
idA valid id number (a positive integer).* Required
typeThe value: 'app'* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

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

details

URL:

https://api.liquidweb.com/bleed/Server/Credentials/details

Description:

Parameters:

ParameterTypeNotes
idA valid id number (a positive integer).* Required
typeOne of: 'app', 'server'* Required

Returns:

FieldType
accntA valid account number, up to 6 digits in length.
auth_dataA string permitting tabs, carriage returns and newlines
auth_typeA single word, consisting of only letters, digits, and underscores.
descriptionA string of text, containing no newlines or other control characters.
idA valid id number (a positive integer).
locationA string of text, containing no newlines or other control characters.
nameA string consisting of only letters, digits, hyphens, spaces, and underscores.
server_typeOne of: 'Bare.Metal', 'Bare.Metal.GPU', 'Bare.Metal.GPU.WIN', 'Bare.Metal.WIN', 'Cloud.Metal', 'Cloud.Metal.WIN', 'Cloud.VPS', 'Cloud.VPS.WIN', 'SS.VM', 'SS.VM.R', 'SS.VM.WIN', 'SS.VPS', 'SS.VPS.WIN', 'SS.VPS.WT'
typeOne of: 'app', 'server'
uniq_idA six-character identifier, containing only capital letters and digits.
usernameA string of text, containing no newlines or other control characters.

Possible Errors:

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

list

URL:

https://api.liquidweb.com/bleed/Server/Credentials/list

Description:

Parameters:

ParameterTypeNotes
order_byAn associative array containing the fields:
 
fieldThe value: 'id'* Required
sortOne of: 'asc', 'desc'* Optional
  • Defaults to: desc
page_numA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 1
page_sizeA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 25
server_typeOne of: 'Bare.Metal', 'Bare.Metal.GPU', 'Bare.Metal.GPU.WIN', 'Bare.Metal.WIN', 'Cloud.Metal', 'Cloud.Metal.WIN', 'Cloud.VPS', 'Cloud.VPS.WIN', 'SS.VM', 'SS.VM.R', 'SS.VM.WIN', 'SS.VPS', 'SS.VPS.WIN', 'SS.VPS.WT'
typeOne of the following:
 
One of: 'app', 'server'
An array of One of: 'app', 'server'
uniq_idA six-character identifier, containing only capital letters and digits.

Returns:

FieldType
item_countA non-negative integer value (i.e. 0 and up).
item_totalA non-negative integer value (i.e. 0 and up).
itemsAn array of associative arrays containing
 
accntA valid account number, up to 6 digits in length.
auth_dataA string permitting tabs, carriage returns and newlines
auth_typeA single word, consisting of only letters, digits, and underscores.
descriptionA string of text, containing no newlines or other control characters.
idA valid id number (a positive integer).
locationA string of text, containing no newlines or other control characters.
nameA string consisting of only letters, digits, hyphens, spaces, and underscores.
server_typeOne of: 'Bare.Metal', 'Bare.Metal.GPU', 'Bare.Metal.GPU.WIN', 'Bare.Metal.WIN', 'Cloud.Metal', 'Cloud.Metal.WIN', 'Cloud.VPS', 'Cloud.VPS.WIN', 'SS.VM', 'SS.VM.R', 'SS.VM.WIN', 'SS.VPS', 'SS.VPS.WIN', 'SS.VPS.WT'
typeOne of: 'app', 'server'
uniq_idA six-character identifier, containing only capital letters and digits.
usernameA string of text, containing no newlines or other control characters.
page_numA positive integer value (i.e. 1 and up).
page_sizeA positive integer value (i.e. 1 and up).
page_totalA positive integer value (i.e. 1 and up).

Possible Errors:

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

update

URL:

https://api.liquidweb.com/bleed/Server/Credentials/update

Description:

Parameters:

ParameterTypeNotes
auth_dataA string permitting tabs, carriage returns and newlines
idA valid id number (a positive integer).* Required
locationA string of text, containing no newlines or other control characters.
typeOne of: 'app', 'server'* Required
usernameA string of text, containing no newlines or other control characters.

Returns:

FieldType
accntA valid account number, up to 6 digits in length.
auth_dataA string permitting tabs, carriage returns and newlines
auth_typeA single word, consisting of only letters, digits, and underscores.
descriptionA string of text, containing no newlines or other control characters.
idA valid id number (a positive integer).
locationA string of text, containing no newlines or other control characters.
nameA string consisting of only letters, digits, hyphens, spaces, and underscores.
server_typeOne of: 'Bare.Metal', 'Bare.Metal.GPU', 'Bare.Metal.GPU.WIN', 'Bare.Metal.WIN', 'Cloud.Metal', 'Cloud.Metal.WIN', 'Cloud.VPS', 'Cloud.VPS.WIN', 'SS.VM', 'SS.VM.R', 'SS.VM.WIN', 'SS.VPS', 'SS.VPS.WIN', 'SS.VPS.WT'
typeOne of: 'app', 'server'
uniq_idA six-character identifier, containing only capital letters and digits.
usernameA string of text, containing no newlines or other control characters.

Possible Errors:

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