File tree Expand file tree Collapse file tree 2 files changed +3
-27
lines changed
apps/portal/src/app/nebula/api-reference Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,7 @@ DELETE /session/{session_id}
99
1010Example curl:
1111
12+ ``` bash
1213curl -X DELETE https://nebula-api.thirdweb.com/session/abc123 \
13- -H "x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
14+ -H " x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
15+ ```
Original file line number Diff line number Diff line change @@ -23,30 +23,4 @@ curl -X PUT https://nebula-api.thirdweb.com/session/abc123 \
2323 " title" : " string" ,
2424 " is_public" : boolean
2525}
26- ```
27-
28- #### Delete Session
29-
30- ``` bash
31- DELETE /session/{session_id}
32- ```
33-
34- Delete a session.
35-
36- ** Example curl:**
37- ``` bash
38- curl -X DELETE https://nebula-api.thirdweb.com/session/abc123 \
39- -H " x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
40- ```
41-
42- ## Error Handling
43-
44- The API uses standard HTTP status codes and returns errors in this format:
45-
46- ``` bash
47- {
48- " error" : {
49- " message" : " Error description"
50- }
51- }
5226```
You can’t perform that action at this time.
0 commit comments