import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.projects.create_project(request=components.CreateProjectRequest(
name='<value>',
))
if res.project is not None:
# handle response
pass
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The created project
The response is of type object
.
Was this page helpful?
import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.projects.create_project(request=components.CreateProjectRequest(
name='<value>',
))
if res.project is not None:
# handle response
pass
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}