Skip to main content
POST
Store a Personal Access Token (PAT) for ghcr.io

Path Parameters

organizationId
string<uuid>
required

CybeDefend organization ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

PAT to store

pat
string
required

Personal Access Token with read:packages scope. Required for scanning private/internal packages.

Example:

"ghp"

Response

PAT stored and validated successfully

success
boolean
required

Whether the PAT was stored successfully

Example:

true

message
string
required

Message describing the result

Example:

"PAT stored and validated successfully"

status
object

Validation result (if validation was performed)