メインコンテンツまでスキップ

Install a SharePoint site's certificate.

POST/api/v1/sharepoint-sites/{sharepoint_site_id}/install-certificateconnectors:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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.

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールinstall_sharepoint_site_certificate
Portal の権限upload_sharepoint_certificates

パラメーター​

名前場所型必須説明
sharepoint_site_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonSharePointCertificateInstallInput

応答​

ステータス説明本文
200Success.application/json SharePointCertificate または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

SharePointCertificate​

フィールド型必須説明
expires_atstring (date-time)必須When the certificate stops being valid.
has_certificate_passwordboolean必須
has_private_keyboolean必須Whether the file holds a private key that can be read; without one the site cannot sign in to Microsoft.
scheduled_sync_reads_itboolean必須Whether the scheduled sync can read the file: it reads PEM only (a PFX/P12 serves discovery).
sharepoint_site_idstring必須

SharePointCertificateInstallInput​

フィールド型必須説明
certificate_passwordstring または null任意The PFX/P12 file's password; stored encrypted, never answered.
upload_idstring必須A completed upload session with purpose certificate.