Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-organized nebula documentation #5839

Merged
merged 9 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
graphite fixes
  • Loading branch information
saminacodes committed Dec 24, 2024
commit 398a5da7bb1ff3610a75b0010f56bca25a231b6a
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ DELETE /session/{session_id}

Example curl:

```bash
curl -X DELETE https://nebula-api.thirdweb.com/session/abc123 \
-H "x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
-H "x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,4 @@ curl -X PUT https://nebula-api.thirdweb.com/session/abc123 \
"title": "string",
"is_public": boolean
}
```

#### Delete Session

```bash
DELETE /session/{session_id}
```

Delete a session.

**Example curl:**
```bash
curl -X DELETE https://nebula-api.thirdweb.com/session/abc123 \
-H "x-secret-key: YOUR_THIRDWEB_SECRET_KEY"
```

## Error Handling

The API uses standard HTTP status codes and returns errors in this format:

```bash
{
"error": {
"message": "Error description"
}
}
```
Loading