Update a listing
PATCH/v1/projects/:project_id/listings/:listing_id
Change the title or description, or pause and resume the listing.
state: suspended stops the listing for every installing project at once; their installs are kept. state: listed resumes a listing you suspended, provided naturali had listed it; nobody reinstalls. A listing naturali suspended cannot be resumed here, and an invalid move answers 409 invalid_listing_state.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 503
Listing updated.
The request was malformed or failed validation.
Missing or invalid credentials.
The credential is scoped to a different project, or the caller's role in the project does not carry this action.
The resource does not exist (existence is not leaked).
listing_exists (the resource already has a listing) or invalid_listing_state (the move is not allowed from the listing's current state).
model_not_priced: the agent runs on a naturali model that has no price yet, so its use could not be billed.