Create a new software license policy in a project
POST
/api/v4/projects/{id}/managed_licenses
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
name
required
The name of the license
string
Example
MIT approval_status
required
The approval status of the license.
string
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
name
string
approval_status
string
Example generated
{ "id": 1, "name": "example", "approval_status": "example"}Bad Request
Unauthorized
Forbidden
Not found