skills/create-or-replace-schedule/SKILL.md
# Create or Replace Schedule Create or replace the schedule for a specific team using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PUT /teams/{team-id}/schedule - **Operation ID**: createOrReplaceSchedule - **Tag**: Schedules ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` - **Full URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/
npx skillsauth add naftiko/microsoft-teams-sandbox skills/create-or-replace-scheduleInstall 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.
Create or replace the schedule for a specific team using the Microsoft Teams API.
../../openapi/microsoft-teams-openapi.yamlhttp://localhost:8080/rest/microsoft-teams-api/1.0.0http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/scheduleContent-Type: application/jsonAuthorization: Bearer {access_token}Schedule.ReadWrite.All| Name | Type | Required | Description | |------|------|----------|-------------| | team-id | string | Yes | The unique identifier of the team. |
| Name | Type | Required | Description | |------|------|----------|-------------| | enabled | boolean | No | Whether the schedule is enabled. | | timeZone | string | No | The time zone for the schedule (e.g., America/New_York). | | timeClockEnabled | boolean | No | Whether the time clock feature is enabled. | | openShiftsEnabled | boolean | No | Whether open shifts are enabled. | | swapShiftsRequestsEnabled | boolean | No | Whether swap shift requests are enabled. | | offerShiftRequestsEnabled | boolean | No | Whether offer shift requests are enabled. | | timeOffRequestsEnabled | boolean | No | Whether time off requests are enabled. |
curl -X PUT \
"http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/team-001/schedule" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {access_token}" \
-d '{
"enabled": true,
"timeZone": "America/New_York",
"timeClockEnabled": true,
"openShiftsEnabled": true,
"swapShiftsRequestsEnabled": true,
"offerShiftRequestsEnabled": true,
"timeOffRequestsEnabled": true
}'
{
"id": "schedule-001",
"enabled": true,
"timeZone": "America/New_York",
"provisionStatus": "completed",
"timeClockEnabled": true,
"openShiftsEnabled": true,
"swapShiftsRequestsEnabled": true,
"offerShiftRequestsEnabled": true,
"timeOffRequestsEnabled": true
}
Schedule.ReadWrite.All scope.team-id.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}`