Skip to main content
PATCH
/
v1
/
workspaces
/
{workspaceID}
/
change-provider-preferences
Change provider preferences
curl --request PATCH \
  --url https://ai.liara.ir/v1/workspaces/{workspaceID}/change-provider-preferences \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345"

Path Parameters

workspaceID
string
required

The workspace ID

Pattern: ^[a-f0-9]{24}$

Body

application/json
preference
enum<string>
required

Provider routing preference

Available options:
price,
throughput,
latency

Response