Publish or unpublish a user’s strategy
PUT https://hub2.trylevel2.com/broker/update_marketplace_strategyPublishes or unpublishes a user’s strategy to the marketplace.
Request:
QUERY PARAMETERS
QUERY PARAMETERS
Required Parameters
Every field listed below is mandatory for the publication status to be updated successfully.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| strategy_id | integer | Required | The unique identifier of the strategy to publish or unpublish. |
| user_email | email | Required | The registered email address of the user. |
| should_publish | boolean | Required | Set to true to publish the strategy, or false to unpublish. |
Responces:
Successful response with marketplace update confirmation 200
SCHEMA
SCHEMA
EXAMPLE
EXAMPLE
{
"message": "Operation completed successfully"
}Responces:
Internal Server Error 500
SCHEMA
SCHEMA
| Parameter | Type | Description |
|---|---|---|
| error | string | A descriptive message detailing the specific issue encountered. |
EXAMPLE
EXAMPLE
{
"error": "An unexpected error occurred"
}Last updated on