Create Office 365 SharePoint Online
Select
SaaS
Customer Managed
Create Office 365 SharePoint Online app
- application/json
Request Body
- name string required
Unique Sharepoint app name
serverPlan object required
- tenantAdminSiteURL string required
SharePoint Online tenant admin site URL
azureApp object
Responses
- 200
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "An instance by this name already exists.",
"errorCode": 3
}
Internal Server Error
POST /v4/office365/sharepoint
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/SharePoint' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"tenantAdminSiteURL": "string",
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"azureDirectoryId": "string"
}
}'