DELETE v{version}/webhooks/types/subscription
Details
Unsubscribe to a specific webhook.
https://api.procurewizard.com/v1.0/webhooks/types/subscriptionRequest
URI Parameters
These are parameters passed as part of the URL in the request.
Name | Description | Type | Additional information |
---|---|---|---|
version |
The API version parameter. The current version is 1.0. |
string |
None |
Body Parameters
A webhook event type request object. This is a request from a client.
WebhookEventTypeRequestName | Description | Type | Additional information |
---|---|---|---|
data |
The responses data. |
WebhookEventTypeRequestData |
None |
jsonApi |
Implementation details of JSON:API. |
Implementation |
None |
meta |
A meta object used to include non-standard meta-information. Client meta data will be ignored by the server. |
MetaData |
None |
Request Formats
{
"data": {
"id": "56789",
"type": "webhookeventtype",
"attributes": {
"name": "Sample string 1"
}
}
}
<WebhookEventTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.Webhooks">
<JsonApi xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api" />
<Meta i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi" />
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.Webhooks" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
<Id xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">56789</Id>
<Type xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">webhookeventtype</Type>
<Attributes xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
<d2p1:Name>Sample string 1</d2p1:Name>
</Attributes>
</Data>
</WebhookEventTypeRequest>
Response
Response Description
A response object of DeleteResponseResponse Formats
Example responses of what the data might contain.
{}
<DeleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api" />