sources_all_set_icon_create
POST/api/v3//sources/all/:slug/set_icon/
Set source icon
Request
Path Parameters
slug stringrequired
- multipart/form-data
Body
file binary
clear boolean
Responses
- 200
- 400
- 403
Success
Bad request
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/sources/all/:slug/set_icon/' \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <TOKEN>'