Install a SharePoint site's certificate.
POST/api/v1/sharepoint-sites/{sharepoint_site_id}/install-certificateconnectors:write
upload_id is a completed upload session with purpose certificate (PEM, or PFX/P12 with certificate_password). The certificate replaces the site's; its thumbprint and the password are stored encrypted, and the password is never answered. A wrong password keeps the upload, so the call can be repeated.
| Scope | connectors:write (sensitive) |
| Asynchronous | No |
| MCP tool | install_sharepoint_site_certificate |
| Portal permissions | upload_sharepoint_certificates |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sharepoint_site_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | SharePointCertificateInstallInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json SharePointCertificate or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict, idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
SharePointCertificate
| Field | Type | Required | Description |
|---|---|---|---|
expires_at | string (date-time) | Required | When the certificate stops being valid. |
has_certificate_password | boolean | Required | |
has_private_key | boolean | Required | Whether the file holds a private key that can be read; without one the site cannot sign in to Microsoft. |
scheduled_sync_reads_it | boolean | Required | Whether the scheduled sync can read the file: it reads PEM only (a PFX/P12 serves discovery). |
sharepoint_site_id | string | Required |
SharePointCertificateInstallInput
| Field | Type | Required | Description |
|---|---|---|---|
certificate_password | string or null | Optional | The PFX/P12 file's password; stored encrypted, never answered. |
upload_id | string | Required | A completed upload session with purpose certificate. |