Uploading Team Data (beta)
Importing Teams Data
Upload Example Using cURL
curl --location --request POST 'https://logilica.io/api/import/v1/teams/create' \
--header 'X-lgca-token: lgca_UeRxFs_3RYRJEJtdYp7j7Wa6DirG5NjiYslsb' \
--header 'x-lgca-domain: myworkspace' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Development Team",
"members": [{
"name": "John Doe",
"email": "[email protected]"
},
{
"name": "Jane Doe,
"email": "[email protected]"
}],
"subTeams": ["1234567"]
}'API Schema for Importing Team
Create a Team
post
Create a team
Body
namestringRequired
Name of the team
subTeamsstring[]Optional
The sub teams within the team
Responses
200
Success
application/json
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Team not found
application/json
500
Failed to process request
application/json
post
teams/createUpdate a Team
post
Update a team
Path parameters
teamIDstringRequired
Body
namestringRequired
Name of the team
subTeamsstring[]Optional
The sub teams within the team
Responses
200
Success
application/json
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Team not found
application/json
500
Failed to process request
application/json
post
teams/update/{teamID}Delete a Team
post
Delete a team
Path parameters
teamIDstringRequired
Responses
200
Success
application/json
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Team not found
application/json
500
Failed to process request
application/json
post
teams/delete/{teamID}List Teams
get
List the teams in a domain
Responses
200
Success in retrieving teams
application/json
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Team not found
application/json
get
teams/Last updated