application: unsetVerifiedPublisher
Article
03/02/2023
5 contributors
Feedback
In this article
Namespace: microsoft.graph
Unset the verifiedPublisher previously set on an application , removing all verified publisher properties. For more information, see Publisher verification .
Permissions
Permission type
Permissions (from least to most privileged)
Delegated (work or school account)
Application.ReadWrite.All
Delegated (personal Microsoft account)
Not supported
Application
Not supported
HTTP request
POST /applications/{id}/unsetVerifiedPublisher
Name
Description
Authorization
Bearer {token}. Required.
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 204 No Content
response code.
Example
Request
The following is an example of the request.
POST https://graph.microsoft.com/v1.0/applications/{id}/unsetVerifiedPublisher
// Code snippets are only available for the latest version. Current version is 5.x
var graphClient = new GraphServiceClient(requestAdapter);
await graphClient.Applications["{application-id}"].UnsetVerifiedPublisher.PostAsync();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
graphClient.Applications().ByApplicationId("application-id").UnsetVerifiedPublisher().Post(context.Background(), nil)
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
GraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
graphClient.applications("{id}")
.unsetVerifiedPublisher()
.buildRequest()
.post();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
const options = {
authProvider,
};
const client = Client.init(options);
await client.api('/applications/{id}/unsetVerifiedPublisher')
.post();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$graphServiceClient->applications()->byApplicationId('application-id')->unsetVerifiedPublisher()->post();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
Response
The following is an example of the response.
HTTP/1.1 204 No Content