Attaches one or more tags to the specified agent in batch.
Notes:
curl --request POST \
--url https://api.lofty.com/v1.0/agent/{agentId}/tag/add \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"tagNames": [
"VIP",
"Premium"
],
"autoCreate": true
}
'{
"data": true,
"errorCode": 0,
"errorMsg": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
User ID of the agent to tag.
x >= 1Envelope indicating whether the batch add succeeded.
Response for POST /v1.0/agent/{agentId}/tag/add. Envelope that carries the batch result and an error code when the operation fails.
curl --request POST \
--url https://api.lofty.com/v1.0/agent/{agentId}/tag/add \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"tagNames": [
"VIP",
"Premium"
],
"autoCreate": true
}
'{
"data": true,
"errorCode": 0,
"errorMsg": "<string>"
}