POST
/
v1
/
repositories
/
curl --request POST \
  --url https://app.premai.io/v1/repositories/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "organization": "<string>"
}'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>"
}

Authorizations

Authorization
string
headerrequired

Body

name
string
required
description
string | null
organization
string
required

Response

201 - application/json
id
integer
required
name
string
required
description
string | null