openapi: 3.1.0
info:
title: Citrix ShareFile REST API v3 Accounts API
description: 'The ShareFile v3 REST API provides programmatic access to items,
folders, files, users, groups, shares, and accounts in a customer
subdomain. The API uses a subset of the OData specification with
entity URIs of the form /sf/v3/{Entity}({id}). Authentication uses
OAuth 2.0 with multiple supported grant types (authorization code,
password, SAML assertion exchange), returning Bearer access tokens
scoped to a customer subdomain.
'
version: 3.0.0
contact:
name: ShareFile API Documentation
url: https://api.sharefile.com/
servers:
- url: https://{subdomain}.sf-api.com/sf/v3
variables:
subdomain:
default: example
description: ShareFile account subdomain
security:
- bearerAuth: []
tags:
- name: Accounts
paths:
/Accounts:
get:
tags:
- Accounts
summary: Get the current account information
operationId: getCurrentAccount
responses:
'200':
description: Account information
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: OAuth2-Access-Token