# Component ## Component Lookup (deprecated) - [GET /component/lookup](https://codeinsightapi.redocly.app/swagger/deprecated-apis/componentlookup.md): This API is Deprecated and new API is codeinsight/api/components/search ## Component Search - [GET /components/search](https://codeinsightapi.redocly.app/swagger/component/componentsearch.md): Search for the components based on the given input and return list of components which includes registered,popular and unpopular.Response will not include vulnerabilities and licenses of the version ## Create a component custom version - [POST /components/{componentId}/versions](https://codeinsightapi.redocly.app/swagger/component/createcomponentversion.md): Create a component custom version ## Create a custom component - [POST /components](https://codeinsightapi.redocly.app/swagger/component/createcustomcomponent.md): Creates a custom component ## Delete a component custom version - [DELETE /components/{componentId}/versions/{id}](https://codeinsightapi.redocly.app/swagger/component/deletecomponentversion.md): Delete a custom version using the component ID and version ID. All existing inventory that uses this version will have its version changed to Unknown. You must have the Library Manager permission to delete a custom version. ## Delete a custom component - [DELETE /components/{id}](https://codeinsightapi.redocly.app/swagger/component/deletecustomcomponent.md): Delete a custom component using the component ID. All existing inventory that uses this component will be changed to work in progress. You must have the Library Manager permission to delete a custom component. ## Get Component - [GET /components/{componentId}](https://codeinsightapi.redocly.app/swagger/component/getcomponent.md): Get Component by id. ## Get Component version details - [GET /components/versions/{id}](https://codeinsightapi.redocly.app/swagger/component/getversiondetails.md): Get Component version details ## Get Component version vulnerabilities - [GET /components/{versionId}/vulnerabilities](https://codeinsightapi.redocly.app/swagger/component/getvulnerabilties.md): Get vulnerability details of a component version ## Component Lookup (deprecated) - [GET /component/lookup](https://codeinsightapi.redocly.app/swagger/component/componentlookup.md): This API is Deprecated and new API is codeinsight/api/components/search