Skip to content

Create a codebase (archive codebases require the archive file)

POST
/api/v1/codebases
curl --request POST \
--url 'https://example.com/api/v1/codebases?projectId=00000000-0000-0000-0000-000000000000'
projectId
required

Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.

string
>= 1 characters
Example
00000000-0000-0000-0000-000000000000

Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.

Success

Invalid input or missing archive