cURL
curl --request POST \ --url https://cloud.activepieces.com/api/v1/project-releases \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "ROLLBACK", "name": "<string>", "description": "<string>", "selectedFlowsIds": [ "<string>" ], "projectId": "<string>", "projectReleaseId": "<string>" }'
{ "id": "<string>", "created": "<string>", "updated": "<string>", "projectId": "<string>", "name": "<string>", "description": "<string>", "importedBy": "<string>", "fileId": "<string>", "type": "GIT", "importedByUser": { "id": "<string>", "email": "<string>", "firstName": "<string>", "status": "ACTIVE", "externalId": "<string>", "lastChangelogDismissed": "<string>", "platformId": "<string>", "platformRole": "ADMIN", "lastName": "<string>", "created": "<string>", "updated": "<string>" } }
Use your api key generated from the admin console
ROLLBACK
Default Response
GIT
Show child attributes