Up - API Reference - Home
Requires JWT.
Delete the icon for the project.
POST /api/projects/delete_icon
Authorization: Bearer <JWT>
{
"project": "<project gid>",
}
project
the gid of the project that has its icon deleted
Authorization: <JWT>
{
"success": true,
"result": {
"project": "<project gid>",
},
"data": {
"cc.projects": {
"<project gid>": {
"gid": "<project gid>",
"name": "Project Name",
"icon": null,
"owner": "<user gid>",
"status": "active",
}
}
}
}
project
is the project gid you provided.
cc.projects
is a dictionary with one entry for the project.
400
Bad request - missing argument
401
Unauthorized - missing or expired JWT
403
Forbidden - not the owner of this project
422
Unprocessable Entity - project not found