Upload Sftp Pgp Key
POST /v2/partner/sftp-credentials/{id}/upload-pgp
Required scopes
partner:sftp:write
Tokens missing any required scope return 401 scope_missing.
See Auth & Scopes for issuance.
Operation
| Operation ID | uploadSftpPgpKey |
| Tags | Operations |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| id * | path | id |
Request body
Required
object
| Field | Type | Description |
|---|---|---|
| pgp_public_key_pem * | string |
Responses
200
OK
object
| Field | Type | Description |
|---|---|---|
| id * | id | UUID v4. |
| type * | enum (1) | sftp_credentials |
| team_id * | id | UUID v4. |
| username * | string | |
| ssh_public_key_fingerprint * | string | |
| pgp_public_key_fingerprint | string | |
| is_active * | boolean | |
| inserted_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| last_rotated_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| last_used_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
Example request
POST https://api.digitalonboarding.com/v2/partner/sftp-credentials/{id}/upload-pgp
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>
{ /* request body matching schema above */ }