Index team

Adds a team or updates information about a team

SecurityBearerAuth
Request
Request Body schema: application/json; charset=UTF-8
required
required
object (TeamInfoDefinition)

Information about an employee's team

version
integer <int64>

Version number for the team object. If absent or 0 then no version checks are done

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/indexteam
Request samples
application/json; charset=UTF-8
{
  • "team": {
    • "id": "string",
    • "name": "string",
    • "description": "string",
    • "businessUnit": "string",
    • "department": "string",
    • "photoUrl": "http://example.com",
    • "externalLink": "http://example.com",
    • "emails": [
      • {
        • "email": "user@example.com",
        • "type": "OTHER"
        }
      ],
    • "datasourceProfiles": [
      • {
        • "datasource": "github",
        • "handle": "string",
        • "url": "string",
        • "nativeAppUrl": "string",
        • "isUserGenerated": true
        }
      ],
    • "members": [
      • {
        • "email": "user@example.com",
        • "relationship": "MEMBER",
        • "join_date": "2019-08-24"
        }
      ]
    },
  • "version": 0
}