- I uploaded x509 certificate for Azure AD app while creating using graph API. Post request for create application: https://graph.microsoft.com/v1.0/applications
Request body:
{
"displayName": "APPName",
"keyCredentials": [
{
"type": "AsymmetricX509Cert",
"usage": "Verify",
"key": "LS0tLS1UNBVEUtLS0tLQ=="
}
]
}
certificate is getting uploaded successfully.
- Now, i want to remove/delete uploaded certificate. I found "application: remove key" method as mentioned here: https://docs.microsoft.com/en-us/graph/api/application-removekey?view=graph-rest-1.0&tabs=http
Is it necessary to add key using "application: add key" to use "application: remove key"?
- Is it necessary to provide "proof" of possession in the request body of "application: remove key" method?
As, very less amount of documentation is available, i am not able to find these answers. Thanks in advance.