Get
/api/3.1/organizations/{org_id}/search/legacy_sites/
This request provides a list of Communication / Legacy SharePoint sites found with the Organizations M365 Tenant. Search for specific sites by including the Site URL. Utilize the Reponse details as a body in your Site linking request.
Security
API Key: NCC_Token
Header parameter nameAuthorization
NCC token authentication. Format: NCC token=<auth_token>
Path parameters
org_id
stringRequired
Query parameters
q
string
Search Communication/Legacy sites providing the site's URL
Responses
200
Successful operation
object
site
object (SearchSitesResponseEntry)
id
string
name
string
display_name
string
site_url
string
description
string
error
string
Error message