---
title: 'Push API tutorial 1: Manage public content'
slug: '92'
canonical_url: https://docs.coveo.com/en/92/
collection: index-content
source_format: adoc
---
# Push API tutorial 1: Manage public content
For this tutorial, you'll be working with a [public](https://docs.coveo.com/en/1779/) Push source.
Any [user](https://docs.coveo.com/en/250/) who can perform [queries](https://docs.coveo.com/en/231/) in a [Coveo organization](https://docs.coveo.com/en/185/) can see the items of a public source in their query results.
You'll add a single basic [item](https://docs.coveo.com/en/210/) to your public Push [source](https://docs.coveo.com/en/246/) and then delete it.
You'll also learn how to update the status of a Push source to generate coherent [activity](https://docs.coveo.com/en/173/) logs.
## Prerequisites
You need the setup described in the [Push API Tutorials](https://docs.coveo.com/en/161#tutorial-setup) article.
## Step 1: (Optional) Generate your first source activity logs
For non-Push sources, the Coveo [crawlers](https://docs.coveo.com/en/2121/) automatically take care of generating [activity logs](https://docs.coveo.com/en/1969/) in your Coveo organization.
However, you're fully responsible for managing the activity logs of your Push sources.
When you plan to make Push API requests to update the content of a Push source, update that source's status first.
You'll now send a [`Set the status of a Push source`](https://docs.coveo.com/en/35#update-the-status-of-a-push-source) request to set the status of your Push source to `REBUILD`.
. In your preferred HTTP client, create a new POST request using the Push API endpoint corresponding to your deployment region.
--
**US East region**
[%collapsible%open]
#### [source,http,subs=attributes]
```
POST https://api.cloud.coveo.com/push/v1/organizations/{organizationId}/sources/{sourceId}/status?statusType={statusType} HTTP/1.1
Accept: application/json
Authorization: Bearer {accessToken}
```
#### .Canada region
Details
[source,http,subs=attributes]
```
POST https://api-ca.cloud.coveo.com/push/v1/organizations/{organizationId}/sources/{sourceId}/status?statusType={statusType} HTTP/1.1
Accept: application/json
Authorization: Bearer {accessToken}
```
Details
[source,http,subs=attributes]
```
POST https://api-eu.cloud.coveo.com/push/v1/organizations/{organizationId}/sources/{sourceId}/status?statusType={statusType} HTTP/1.1
Accept: application/json
Authorization: Bearer {accessToken}
```
Details
[source,http,subs=attributes]
```
POST https://api-au.cloud.coveo.com/push/v1/organizations/{organizationId}/sources/{sourceId}/status?statusType={statusType} HTTP/1.1
Accept: application/json
Authorization: Bearer {accessToken}
```
|
|
You should have set the proper values for the following Postman collection variables during the setup:
The statusType parameter and its value are specified in the endpoint URL query string. All the necessary variables should therefore already be set for this request. |
|
|
In the Coveo Push API Tutorials collection, all the necessary variables and payload have already been set for this request. |
|
|
In the Coveo Push API Tutorials collection, all the necessary variables have already been set for this request. |
|
|
In the Coveo Push API Tutorials collection, all variables that this request requires are already set. |