Create a software license policy
POST
/api/v4/projects/{id}/managed_licenses
Creates a software license policy for a specified project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
The name of the license
string
Example
MITapproval_status
required
The approval status of the license.
string
Responses
Section titled “Responses”Created
Media typeapplication/json
object
id
integer format: int64
name
string
approval_status
string
Examplegenerated
{ "id": 1, "name": "example", "approval_status": "example"}Bad Request
Unauthorized
Forbidden
Not found