Field Squared API Services

<back to all web services

OAuthRevoke

Represents an item that revokes an integration OAuth token

The following routes are available for this service:
GET/{WorkspaceId}/OAuthRevoke/{App}
import Foundation
import ServiceStack

/**
* Represents an item that revokes an integration OAuth token
*/
public class OAuthRevoke : Codable
{
    public var workspaceId:String
    public var app:String

    required public init(){}
}


Swift OAuthRevoke DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /{WorkspaceId}/OAuthRevoke/{App} HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/csv