cURL
curl --request PUT \ --url https://apiweb.mile.app/api/v3/team/{teamId}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Team Delivery Update", "hubId": "642634bde1428d414838c882" } '
{ "status": true, "code": 200, "message": "Data successfully updated.", "data": { "_id": "650151e4c8a55842604f1662", "name": "Team Delivery Update", "hubId": "64d9932e2beb9037735ff022", "organizationId": "64d99303be0ad015c461c932", "updatedTime": "2023-09-13T06:12:26.124000Z", "createdTime": "2023-09-13T06:08:36.025000Z", "totalUser": 0 } }
Use a valid Bearer token to authenticate.
Unique identifier for the team that generated by system. Example: 642634bde1428d414838c882
642634bde1428d414838c882
The name of team. Name must be unique at per-hub. Example: Team Delivery
Team Delivery
Unique identifier for the hub that generated by system. Example: 63c7705c8608d52094785374
63c7705c8608d52094785374
Success
Status of response.
Detail of updated team.
Message of API response.