How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GoHarbor User API

The user API from GoHarbor — 8 operation(s) for user.

GoHarbor User API is one of 38 APIs that GoHarbor publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include User. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 11 operations across 8 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 2 base URLs: http://localhost/api/v2.0, https://localhost/api/v2.0.

11 operations 8 paths 11 schemas 1 DELETE5 GET1 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://{host}/api/v2.0
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

GoHarbor User API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basic). By default, every request must be authenticated, though some operations may also be called without credentials.

Paths & Operations 11

Across 8 paths, the API surfaces 11 operations — 1 DELETE, 5 GET, 1 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

User 11
GET
/users
List users
listUsers 5 params → 200401403500
POST
/users
Create a local user
createUser 1 param body → 201400401403409500
GET
/users/current
Get current user info
getCurrentUserInfo 1 param → 200401412500
GET
/users/search
Search users by username
searchUsers 4 params → 200401500
GET
/users/{user_id}
Get a user's profile
getUser 2 params → 200401403404500
PUT
/users/{user_id}
Update user's profile
updateUserProfile 2 params body → 200400401403404500
DELETE
/users/{user_id}
Mark a registered user as be removed
deleteUser 2 params → 200401403404500
PUT
/users/{user_id}/sysadmin
Update a registered user to change to be an administrator of Harbor
setUserSysAdmin 2 params body → 200401403404500
PUT
/users/{user_id}/password
Change the password on a user that already exists
updateUserPassword 2 params body → 200400401403500
GET
/users/current/permissions
Get current user permissions
getCurrentUserPermissions 3 params → 200401500
PUT
/users/{user_id}/cli_secret
Set CLI secret for a user
setCliSecret 2 params body → 200400401403404412500

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are UserResp (10 properties), OIDCUserInfo (6 properties), UserCreationReq (5 properties), UserProfile (3 properties). Each schema is shown below with its type and property counts.

Permission
object
2 properties
Errors
object
The error array that describe the errors got during the handling of request
1 property
UserProfile
object
3 properties
UserSysAdminFlag
object
1 property
Error
object
a model for all the error response coming from harbor
2 properties
PasswordReq
object
2 properties
UserResp
object
10 properties
OIDCCliSecretReq
object
1 property
OIDCUserInfo
object
6 properties
UserSearchRespItem
object
2 properties
UserCreationReq
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

goharbor-user-api-openapi.yml Raw ↑

Other APIs GoHarbor publishes across the network.

GoHarbor Health API
GoHarbor Replication API
GoHarbor Scan API
GoHarbor Search API
GoHarbor Artifact API
GoHarbor Configure API
GoHarbor Gc API
GoHarbor Icon API
GoHarbor Immutable API
GoHarbor Label API
GoHarbor Ldap API
GoHarbor Member API
Where this information came from

This is an independent, third-party profile of GoHarbor User API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.