Update Session Resource
Update Session Resource through the OMA API.
?beta=true.Authorizations
OMA workspace API key.
Path Parameters
Path parameter session_id
Path parameter resource_id
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Body
Request parameters for updating a session resource.
New authorization token for the resource. Currently only github_repository resources support token rotation.
1 - 4096"ghp_exampletoken"
Response
Successful response (OK)
- Option 1
- Option 2
- Option 3
The updated session resource.
github_repository "github_repository"
"sesrsc_011CZkZCKr6eXyl0gWMOdQiu"
"https://github.com/example-org/example-repo"
"/workspace/example-repo"
A timestamp in RFC 3339 format
"2026-03-15T10:00:00Z"
A timestamp in RFC 3339 format
"2026-03-15T10:00:00Z"
- Option 1
- Option 2