Skip to content

Update an existing software license policy from a project

PATCH
/api/v4/projects/{id}/managed_licenses/{managed_license_id}
id
required
One of:
string

The ID or URL-encoded path of the project

managed_license_id
required
string

The ID of a managed license

Media type application/json
object
name

The name of the license

string
nullable
Example
MIT
approval_status

The approval status of the license.

string
nullable
Allowed values: allowed denied

OK

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