Skip to main content
POST
/
v1
/
workspace
/
website
/
assign
Assign website to client
curl --request POST \
  --url https://apidev.lindo.ai/v1/workspace/website/assign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "website_id": "website_abc123",
  "client_id": "client_abc123"
}
'
{
  "success": true,
  "result": {
    "message": "Website assigned to client successfully",
    "website_id": "website_abc123",
    "client_id": "client_abc123"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Body

application/json
website_id
string
required

Unique identifier of the website to assign

Example:

"website_abc123"

client_id
string
required

Unique identifier of the client to assign the website to

Example:

"client_abc123"

Response

Website assigned to client successfully

success
enum<boolean>
required

Indicates the operation was successful

Available options:
true,
false
Example:

true

result
object
required