Set recycling configuration
Create or replace the recycling configuration for a post. Pro plan only.
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Path Parameters
id*string
Resource ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/posts/string/recycling" \ -H "Content-Type: application/json" \ -d '{ "gap": 1, "gap_freq": "day", "start_date": "2019-08-24T14:15:22Z" }'{ "data": { "content_variation_index": 0, "content_variations": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "enabled": true, "expire_count": 0, "expire_date": "2019-08-24T14:15:22Z", "gap": 0, "gap_freq": "day", "id": "string", "last_recycled_at": "2019-08-24T14:15:22Z", "next_recycle_at": "2019-08-24T14:15:22Z", "recycle_count": 0, "start_date": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "warnings": [ "string" ]}Found something wrong? Help us improve this page.