Update a library
PUT/libraries/:libraryId
The operation allows you to update a specific library, changing some of its properties. Any properties not specified in the request body will stay unchanged.
Request
Path Parameters
Header Parameters
CodeNOW API Key
- application/vnd.codenow.v1+json
Body
required
The detailed textual description of the library. Allows users to add additional context, notes, or any relevant information about the purpose, usage, or characteristics of the library.
Possible values: >= 2
and <= 30
The maximum number of builds that will be kept in the queue. Older builds will be archived.
This field is optional. If provided, it must be a value between 2 and 30.
ciSettings
object
nullable
The CI settings for the library. If provided, the CI settings will be updated.
Associated CI provider
codenow - uses CodeNow CI
external - uses external CI
A boolean flag indicating whether pipeline settings are globally configured for the entire repository. If set to false, the pipeline settings are independently customized for individual branches.
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Library was updated
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
{
"status": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.