Teams

Updates a team by key. Omitted body fields are left unchanged.

post/v2/teams/{teamKey}

Request

  • Base URL
    https://api.streak.com/api
  • URL
    https://api.streak.com/api/v2/teams/{teamKey}
  • Auth
    HTTP bearer

Path parameters

teamKeystring required

Key for the team to update.

Request body

namestring nullable

New display name for the team.

sharingRestrictedToTeamboolean nullable

Whether sharing outside the team is restricted.

automaticallyApproveJoinRequestsboolean nullable

Whether requests to join the team are approved automatically.

automaticallySendInvoiceEmailsboolean nullable

Whether invoice emails are sent automatically for this team.

emailsToSendInvoiceTostring[] nullable

Complete replacement for additional invoice-recipient email addresses. Omit to leave unchanged; send an empty set to clear.

contactOrgListPermissionsobject nullable

Permission updates keyed by system list. Omitted list entries remain unchanged.

Response

OK

keystring required

Key for this team.

creationDateinteger required

Timestamp when the team was created, in epoch milliseconds.

creatorstring required

Key for the user who created the team.

namestring required

Display name for the team.

sharingRestrictedToTeamboolean

Whether sharing outside the team is restricted.

automaticallyApproveJoinRequestsboolean

Whether requests to join the team are approved automatically.

automaticallySendInvoiceEmailsboolean

Whether invoice emails are sent automatically for this team.

emailsToSendInvoiceTostring[] required

Additional email addresses that receive team invoices.

billingAdminstring nullable

Key for the user who administers billing for this team.

lastSavedTimestampinteger required

Timestamp when the team was last persisted, in epoch milliseconds.

contactOrgListPermissionsobject required

Permissions for the team's system contact and organization lists.

Example response

{
  "creationDate": 1646870400000,
  "members": [
    {
      "inviteDate": 1646870400000
    }
  ],
  "lastSavedTimestamp": 1646870400000
}

Changes

    • info

      the request property /////// became nullable

    • info

      the request property /////// became nullable

    • info

      endpoint added