To add existing DailyBot users to an existing team within your organization, you can use the following API endpoint:
Endpoint: POST /teams/{team-uuid}/member/
Payload Parameters:
- members (Required): List of members to add to this team. Each member should include the "uuid," and "platform" must be set as "dailybot."
Request Example:
"members": [{
"uuid": "user_uuid1",
"platform": "dailybot",
},...],
}
Response Example:
- No body is returned.
- HTTP 200 for a successful operation.
How to Use:
-
Specify Team UUID: In the API endpoint
/teams/{team-uuid}/member/
, replace{team-uuid}
with the actual UUID of the team to which you want to add members. -
Provide Member Information: In the payload, include the "members" parameter, which should be an array containing objects with the "uuid" of each user you want to add to the team. The "platform" for each user should be set as "dailybot."
-
Submit Request: Use the
POST
method on the specified endpoint to add the specified DailyBot users to the team. -
Review Response: There is no body returned in the response. If the operation is successful, you will receive an HTTP 200 status code.
-
Verify Team Membership: After the operation, verify that the specified DailyBot users have been successfully added to the team.
Feel free to integrate this API endpoint into your applications or systems to manage team memberships effectively. If you have any questions or need further assistance, please reach out to our support team at support@dailybot.com.
Comments
0 comments
Article is closed for comments.