Admin APIadmin-api reference
Update a lab scenario
Authorization
sessionAuth next-auth.session-token<token>
NextAuth.js v5 JWT session cookie. The admin console uses session-based auth; service-to-service callers should use a future API-key scheme.
In: cookie
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/api/v1/lab/scenarios/string" \ -H "Content-Type: application/json" \ -d '{}'Empty
{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}