agent_id
.agent_id
provided in the URL path.agent_id
, follow this guide:curl --location -g --request POST 'https:///v2/api/agent/0/alias' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"alias": "NewAgendeksa-local@ejento.ai"
}'
{
"success": true,
"message": "Agent Alias Created successfully",
"data": [
{
"id": 5,
"agent_name": "New Agent3",
"alias": "NewAgendeksa-local@ejento.ai",
"project": {
"id": 1,
"created_by": "mudasir@example.com",
"created_on": "2024-11-12T01:31:30.341415Z",
"modified_by": "",
"modified_on": "2024-11-12T01:31:30.341415Z",
"project_name": "Social Media",
"team_visibility": false,
"is_deleted": false,
"team": 1
}
}
]
}