Skip to main content
POST
Refresh a Microsoft Teams team

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

team_id
string
required

The team's id (its Microsoft Entra group id), as GET /teams returns it

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Body

application/json
days
integer
default:30

Read the messages of this many days back

Required range: 1 <= x <= 90

Response

Successful Response

message
string
required
run_id
integer
required

The new run, or the one already in flight

started_at
string<date-time>
required
status
enum<string>
required

scheduled (202): the run starts now; already_running (200): a run of this subtype is in flight

Available options:
scheduled,
already_running