diff --git a/Sources/DiscogsService/openapi.yaml b/Sources/DiscogsService/openapi.yaml index 64bb19b49..1fcdce561 100644 --- a/Sources/DiscogsService/openapi.yaml +++ b/Sources/DiscogsService/openapi.yaml @@ -1907,6 +1907,35 @@ paths: $ref: '#/components/responses/Unprocessable' '500': $ref: '#/components/responses/InternalError' + delete: + tags: + - Marketplace + summary: Delete a listing from a marketplace. + description: | + Removes permanently a listing from a Marketplace. + + This endpoints requires authentication as a listing owner. + operationId: deleteListing + parameters: + - $ref: '#/components/parameters/ListingId' + security: + - ConsumerKeySecret: [] + - UserToken: [] + - OAuth: [] + responses: + '204': + description: Successfully deleted a listing from a marketplace. + headers: + X-Discogs-RateLimit: + $ref: '#/components/headers/RateLimit' + X-Discogs-RateLimit-Used: + $ref: '#/components/headers/RateLimitUsed' + X-Discogs-RateLimit-Remaining: + $ref: '#/components/headers/RateLimitRemaining' + '401': + $ref: '#/components/responses/Unauthorized' + '500': + $ref: '#/components/responses/InternalError' components: headers: Link: