Skip to content

Commit 398a5da

Browse files
committed
graphite fixes
1 parent 03d03b4 commit 398a5da

File tree

2 files changed

+3
-27
lines changed
  • apps/portal/src/app/nebula/api-reference

2 files changed

+3
-27
lines changed

apps/portal/src/app/nebula/api-reference/delete-session/page.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ DELETE /session/{session_id}
99

1010
Example curl:
1111

12+
```bash
1213
curl -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+
```

apps/portal/src/app/nebula/api-reference/update-session/page.mdx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)