createTeam
Define and establish new teams in the Rootly MCP server by specifying team details such as name, description, members, and integrations for streamlined incident management.
Instructions
Creates a new team from provided data
Responses:
- 201 (Success): team created
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
{
"key": "value"
}
- 401: responds with unauthorized for invalid token
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
{
"key": "value"
}
- 422: invalid association
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
{
"key": "value"
}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"properties": {
"attributes": {
"additionalProperties": false,
"properties": {
"admin_ids": {
"description": "The user ids of the admins of this team. These users must also be present in user_ids attribute.",
"items": {
"type": "integer"
},
"nullable": true,
"type": "array"
},
"alert_urgency_id": {
"description": "The alert urgency id of the team",
"nullable": true,
"type": "string"
},
"alerts_email_enabled": {
"description": "Enable alerts through email",
"nullable": true,
"type": "boolean"
},
"backstage_id": {
"description": "The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name",
"nullable": true,
"type": "string"
},
"color": {
"description": "The hex color of the team",
"nullable": true,
"type": "string"
},
"cortex_id": {
"description": "The Cortex group id associated to this team",
"nullable": true,
"type": "string"
},
"description": {
"description": "The description of the team",
"nullable": true,
"type": "string"
},
"external_id": {
"description": "The external id associated to this team",
"nullable": true,
"type": "string"
},
"name": {
"description": "The name of the team",
"type": "string"
},
"notify_emails": {
"description": "Emails to attach to the team",
"items": {
"type": "string"
},
"nullable": true,
"type": "array"
},
"opsgenie_id": {
"description": "The Opsgenie group id associated to this team",
"nullable": true,
"type": "string"
},
"opsgenie_team_id": {
"description": "The Opsgenie team id associated to this team",
"nullable": true,
"type": "string"
},
"pagerduty_id": {
"description": "The PagerDuty group id associated to this team",
"nullable": true,
"type": "string"
},
"pagerduty_service_id": {
"description": "The PagerDuty service id associated to this team",
"nullable": true,
"type": "string"
},
"pagertree_id": {
"description": "The PagerTree group id associated to this team",
"nullable": true,
"type": "string"
},
"position": {
"description": "Position of the team",
"nullable": true,
"type": "integer"
},
"service_now_ci_sys_id": {
"description": "The Service Now CI sys id associated to this team",
"nullable": true,
"type": "string"
},
"slack_aliases": {
"description": "Slack Aliases associated with this team",
"items": {
"properties": {
"id": {
"description": "Slack alias ID",
"type": "string"
},
"name": {
"description": "Slack alias name",
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"nullable": true,
"type": "array"
},
"slack_channels": {
"description": "Slack Channels associated with this team",
"items": {
"properties": {
"id": {
"description": "Slack channel ID",
"type": "string"
},
"name": {
"description": "Slack channel name",
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"nullable": true,
"type": "array"
},
"user_ids": {
"description": "The user ids of the members of this team.",
"items": {
"type": "integer"
},
"nullable": true,
"type": "array"
},
"victor_ops_id": {
"description": "The VictorOps group id associated to this team",
"nullable": true,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": {
"enum": [
"groups"
],
"type": "string"
}
},
"required": [
"type",
"attributes"
],
"type": "object"
}
},
"required": [
"data"
],
"type": "object"
}