Last updated 5 months ago
DELETE /developers/workspaces/{workspace_id}/secrets/{_id}/ HTTP/1.1 Host: api.erathos.com Authorization: YOUR_API_KEY Accept: */*
No response body
No content
Which field to use when ordering the results.
A page number within the paginated result set.
Number of results to return per page.
GET /developers/workspaces/{workspace_id}/secrets/ HTTP/1.1 Host: api.erathos.com Authorization: YOUR_API_KEY Accept: */*
{ "count": 50, "next_page": 3, "previous_page": 1, "page_size": 10, "total_pages": 5, "current_page": 2, "results": [ { "_id": "123e4567-e89b-12d3-a456-426614174000", "_created_at": "2025-04-23T23:33:06.323Z", "_updated_at": "2025-04-23T23:33:06.323Z", "name": "text" } ] }
POST /developers/workspaces/{workspace_id}/secrets/ HTTP/1.1 Host: api.erathos.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 30 { "name": "text", "value": "text" }
{ "_id": "123e4567-e89b-12d3-a456-426614174000", "_created_at": "2025-04-23T23:33:06.323Z", "_updated_at": "2025-04-23T23:33:06.323Z", "name": "text" }
PUT /developers/workspaces/{workspace_id}/secrets/{_id}/ HTTP/1.1 Host: api.erathos.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 16 { "value": "text" }
{ "_id": "123e4567-e89b-12d3-a456-426614174000", "_created_at": "2025-04-23T23:33:06.323Z", "_updated_at": "2025-04-23T23:33:06.323Z" }