SimTX API/Packets/CatalogDelete
Appearance
| Frame | ClientFrame, field 39
|
|---|---|
| Member | catalog_delete
|
| Direction | Client → server |
| Session | Control (catalog) |
| Roles | ROLE_CONTROL, authenticated.
|
| Permission | catalog.publish, owner only
|
| Answered by | CatalogDeleteResult or Error |
| Defined in | control.proto
|
CatalogDelete removes an entry from the extension catalog. Only the account that owns the entry can remove it. Refusals are answered with Error: FORBIDDEN (Only Author can remove this publication, or no catalog.publish), NOT_FOUND (That item is no longer in the catalog), UNAVAILABLE or INTERNAL.
Definition[edit | edit source]
message CatalogDelete { int64 request_id = 1; int32 entry_id = 2; }
Fields[edit | edit source]
| # | Field | Type | Description |
|---|---|---|---|
| 1 | request_id |
int64 |
Nonzero; echoed in the CatalogDeleteResult or Error. |
| 2 | entry_id |
int32 |
ID of the entry to remove. |