Environments-20
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
PATCH | |
GET | |
POST | |
GET | |
POST | |
POST | |
GET |
Create environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
POST /api /environments /:project_id /persisted_folderExample response
Status 201
Create environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
POST /api /environments /:project_id /persisted_folderExample response
Status 201
Retrieve environments persisted folder
Required API key scopes
persisted_folder:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /persisted_folder /:idExample response
Status 200
Retrieve environments persisted folder
Required API key scopes
persisted_folder:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /persisted_folder /:idExample response
Status 200
Update environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
PATCH /api /environments /:project_id /persisted_folder /:idExample response
Status 200
Update environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
PATCH /api /environments /:project_id /persisted_folder /:idExample response
Status 200
Delete environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /persisted_folder /:idExample response
Status 204 No response body
Delete environments persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /persisted_folder /:idExample response
Status 204 No response body
List all environments persons
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readPath parameters
- project_idstring
Query parameters
- distinct_idstring
- emailstring
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
- propertiesarray
- searchstring
Response
Example request
GET /api /environments /:project_id /personsExample response
Status 200
Retrieve environments persons
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Response
Example request
GET /api /environments /:project_id /persons /:idExample response
Status 200
Update environments persons
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Response
Example request
PATCH /api /environments /:project_id /persons /:idExample response
Status 200
Retrieve environments persons activity retrieve
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /:id /activityExample response
Status 200 No response body
Create environments persons delete property
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:writePath parameters
- idinteger
- project_idstring
Query parameters
- $unsetstring
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /:id /delete_propertyExample response
Status 200 No response body
Retrieve environments persons properties timeline
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /:id /properties_timelineExample response
Status 200 No response body
Create environments persons split
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /:id /splitExample response
Status 200 No response body
Create environments persons update property
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - keystring
- value
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /:id /update_propertyExample response
Status 200 No response body
Retrieve environments persons activity
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
activity_log:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /activity