Projects

Manage projects

Get projects of the account

get

Return the list of the projects of the account

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

Query parameters
_pageintegerOptional

Index of the page

Example: 0
_max_per_pageintegerOptional

Number of items per page

Example: 10
Responses
200

Success

application/json
Responseall of
get
/accounts/{account_id}/projects

Create a project

post

Create a project

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

Body
idstringRead-onlyOptional

ID of the project

namestringRequired

Name of the project

Responses
post
/accounts/{account_id}/projects

Get one project

get

Return one project by its id

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

project_idstringRequired

The ID of the project

Responses
200

Success

application/json
get
/accounts/{account_id}/projects/{project_id}

Delete a project

delete

Delete a project by its id.

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

project_idstringRequired

The ID of the project

Responses
delete
/accounts/{account_id}/projects/{project_id}

No content

Update a project

patch

Update project informations - You can set only the properies you want to update in the request body.

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

project_idstringRequired

The ID of the project

Body
idstringRead-onlyOptional

ID of the project

namestringRequired

Name of the project

Responses
200

Updated

application/json
patch
/accounts/{account_id}/projects/{project_id}

Toggle a project state

patch

Switch the state of the project to active/inactive.

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

project_idstringRequired

The ID of the project

Body
statestring · enumRequired

State of the toggler

Possible values:
Responses
200

Updated

No content

patch
/accounts/{account_id}/projects/{project_id}/toggle

No content

Last updated

Was this helpful?