엔드포인트 레퍼런스
권한 모드 변경
실행 중인 세션의 권한 모드를 변경합니다.
인증
bearerAuth 인증Bearer <token>
In: header
쿼리 파라미터
session?string
요청 본문
application/json
TypeScript 정의
TypeScript에서 request body 타입을 사용합니다.
permissionMode*string
응답 본문
application/json
application/json
application/json
curl -X POST "https://example.com/agent/set-permission-mode" \ -H "Content-Type: application/json" \ -d '{ "permissionMode": "string" }'{
"status": "updated",
"permissionMode": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}