skills/create-time-off/SKILL.md
# Create Time Off Entry Creates a new time off entry in a team's schedule. Associates the time off with a user, reason, and date range. ## API Details - **API**: Microsoft Teams API - **Method**: POST - **Path**: `/teams/{team-id}/schedule/timesOff` - **Operation ID**: `createTimeOff` - **Tag**: TimeOff - **OpenAPI**: [microsoft-teams-openapi.yaml](../../openapi/microsoft-teams-openapi.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/sc
npx skillsauth add naftiko/microsoft-teams-sandbox skills/create-time-offInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates a new time off entry in a team's schedule. Associates the time off with a user, reason, and date range.
/teams/{team-id}/schedule/timesOffcreateTimeOffMock server URL: http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/schedule/timesOff
Authorization: Bearer {access-token}Content-Type: application/jsonSchedule.ReadWrite.All| Name | In | Type | Required | Description |
|---|---|---|---|---|
| team-id | path | string | Yes | The unique identifier of the team |
| Field | Type | Required | Description |
|---|---|---|---|
| userId | string | Yes | The ID of the user taking time off |
| sharedTimeOff | object | Yes | The shared time off details |
{
"userId": "user-001",
"sharedTimeOff": {
"timeOffReasonId": "reason-001",
"startDateTime": "2025-02-01T00:00:00Z",
"endDateTime": "2025-02-03T00:00:00Z",
"theme": "pink"
}
}
curl -s -X POST \
"http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/e1b3c5a7-9d2f-4b6e-8c1a-3f5d7e9b2a4c/schedule/timesOff" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"userId": "user-001",
"sharedTimeOff": {
"timeOffReasonId": "reason-001",
"startDateTime": "2025-02-01T00:00:00Z",
"endDateTime": "2025-02-03T00:00:00Z",
"theme": "pink"
}
}'
{
"id": "timeoff-001",
"userId": "user-001",
"createdDateTime": "2025-01-10T10:00:00Z",
"lastModifiedDateTime": "2025-01-10T10:00:00Z",
"sharedTimeOff": {
"timeOffReasonId": "reason-001",
"startDateTime": "2025-02-01T00:00:00Z",
"endDateTime": "2025-02-03T00:00:00Z",
"theme": "pink"
}
}
When the user wants to create a new time off entry in a team's schedule, use this operation. Provide the team ID as a path parameter and include the user ID, time off reason, and date range in the request body. The response returns the created time off entry with a 201 status code.
development
# Update Workforce Integration Update the properties of an existing workforce integration using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teamwork/workforceIntegrations/{workforceIntegration-id} - **Operation ID**: updateWorkforceIntegration - **Tag**: WorkforceIntegrations ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` - **Full URL**: `
development
# Update Team Tag Update the properties of an existing tag in a Microsoft Teams team. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teams/{team-id}/tags/{tag-id} - **Operation ID**: updateTeamworkTag - **Tag**: Tags ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}` - `Content-Type: application/json` ## OAu
development
# Update Team Updates the properties of a specific team. Only the properties included in the request body are updated. ## API Details - **API**: Microsoft Teams API - **Method**: PATCH - **Path**: `/teams/{team-id}` - **Operation ID**: `updateTeam` - **Tag**: Teams - **OpenAPI**: [microsoft-teams-openapi.yaml](../../openapi/microsoft-teams-openapi.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}` ## Required Headers - `Authorization:
development
# Update Tab Update the properties of a specific tab in a channel within a team using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: `PATCH /teams/{team-id}/channels/{channel-id}/tabs/{tab-id}` - **operationId**: `updateTab` - **Tag**: Tabs ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}`