DELETE /api/v2/chains/{id} HTTP/1.1 Host: api.ethos.network Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful response
No content
GET /api/v2/chains HTTP/1.1 Host: api.ethos.network Accept: */*
{ "chains": [ { "id": 1, "name": "text", "url": "https://example.com", "iconUrl": "https://example.com" } ] }
POST /api/v2/chains HTTP/1.1 Host: api.ethos.network Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 75 { "name": "text", "url": "https://example.com", "iconUrl": "https://example.com" }
{ "chain": { "id": 1, "name": "text", "url": "https://example.com", "iconUrl": "https://example.com" } }
PUT /api/v2/chains/{id} HTTP/1.1 Host: api.ethos.network Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 75 { "name": "text", "url": "https://example.com", "iconUrl": "https://example.com" }