github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/docs/DeactivationsApi.md (about) 1 # DeactivationsApi 2 3 All URIs are relative to *https://messaging.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchDeactivation**](DeactivationsApi.md#FetchDeactivation) | **Get** /v1/Deactivations | 8 9 10 11 ## FetchDeactivation 12 13 > MessagingV1Deactivation FetchDeactivation(ctx, optional) 14 15 16 17 Fetch a list of all United States numbers that have been deactivated on a specific date. 18 19 ### Path Parameters 20 21 This endpoint does not need any path parameter. 22 23 ### Other Parameters 24 25 Other parameters are passed through a pointer to a FetchDeactivationParams struct 26 27 28 Name | Type | Description 29 ------------- | ------------- | ------------- 30 **Date** | **string** | The request will return a list of all United States Phone Numbers that were deactivated on the day specified by this parameter. This date should be specified in YYYY-MM-DD format. 31 32 ### Return type 33 34 [**MessagingV1Deactivation**](MessagingV1Deactivation.md) 35 36 ### Authorization 37 38 [accountSid_authToken](../README.md#accountSid_authToken) 39 40 ### HTTP request headers 41 42 - **Content-Type**: Not defined 43 - **Accept**: application/json 44 45 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 46 [[Back to Model list]](../README.md#documentation-for-models) 47 [[Back to README]](../README.md) 48