ProSide Golf Platform Admin Organizations API

The platform-admin-organizations API from ProSide Golf — 4 operation(s) for platform-admin-organizations.

GitHub OpenAPI

Operations 4

GET /api/v1/platform-admin/orgs/{org_id}/workspace Get Organization Workspace #
GET /api/v1/platform-admin/players/{player_id}/org-memberships Get Player Organization Memberships #
POST /api/v1/platform-admin/orgs/workspace/preview Preview Organization Workspace Change #
POST /api/v1/platform-admin/orgs/workspace/apply Apply Organization Workspace Change #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/proside-io:proside-io-platform-admin-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

proside-io-platform-admin-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Platform Admin Organizations API
  version: 3.0.0
tags:
- name: platform-admin-organizations
paths:
  /api/v1/platform-admin/orgs/{org_id}/workspace:
    get:
      tags:
      - platform-admin-organizations
      summary: Get Organization Workspace
      operationId: get_organization_workspace_api_v1_sa_orgs__org_id__workspace_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Org Id
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationWorkspaceView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/players/{player_id}/org-memberships:
    get:
      tags:
      - platform-admin-organizations
      summary: Get Player Organization Memberships
      operationId: get_player_organization_memberships_api_v1_sa_players__player_id__org_memberships_get
      security:
      - HTTPBearer: []
      parameters:
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Player Id
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceMembershipList'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/orgs/workspace/preview:
    post:
      tags:
      - platform-admin-organizations
      summary: Preview Organization Workspace Change
      operationId: preview_organization_workspace_change_api_v1_sa_orgs_workspace_preview_post
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateOrganization'
              - $ref: '#/components/schemas/ConfigureOrganization'
              - $ref: '#/components/schemas/EditMembership'
              - $ref: '#/components/schemas/EditRelationship'
              - $ref: '#/components/schemas/OrganizationLifecycle'
              - $ref: '#/components/schemas/PlayerOrganizationBlock'
              title: Command
              discriminator:
                propertyName: action
                mapping:
                  create: '#/components/schemas/CreateOrganization'
                  configure: '#/components/schemas/ConfigureOrganization'
                  membership: '#/components/schemas/EditMembership'
                  relationship: '#/components/schemas/EditRelationship'
                  lifecycle: '#/components/schemas/OrganizationLifecycle'
                  block: '#/components/schemas/PlayerOrganizationBlock'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationWorkspaceReview'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/platform-admin/orgs/workspace/apply:
    post:
      tags:
      - platform-admin-organizations
      summary: Apply Organization Workspace Change
      operationId: apply_organization_workspace_change_api_v1_sa_orgs_workspace_apply_post
      security:
      - HTTPBearer: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          minLength: 8
          maxLength: 200
          title: Idempotency-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateOrganization'
              - $ref: '#/components/schemas/ConfigureOrganization'
              - $ref: '#/components/schemas/EditMembership'
              - $ref: '#/components/schemas/EditRelationship'
              - $ref: '#/components/schemas/OrganizationLifecycle'
              - $ref: '#/components/schemas/PlayerOrganizationBlock'
              discriminator:
                propertyName: action
                mapping:
                  create: '#/components/schemas/CreateOrganization'
                  configure: '#/components/schemas/ConfigureOrganization'
                  membership: '#/components/schemas/EditMembership'
                  relationship: '#/components/schemas/EditRelationship'
                  lifecycle: '#/components/schemas/OrganizationLifecycle'
                  block: '#/components/schemas/PlayerOrganizationBlock'
              title: Command
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationWorkspaceReceipt'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OrganizationLifecycle:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        action:
          type: string
          const: lifecycle
          title: Action
        org_id:
          type: string
          format: uuid
          title: Org Id
        status:
          type: string
          enum:
          - active
          - suspended
          - archived
          title: Status
      additionalProperties: false
      type: object
      required:
      - reason
      - action
      - org_id
      - status
      title: OrganizationLifecycle
    MembershipStatus:
      type: string
      enum:
      - pending
      - active
      - suspended
      - removed
      title: MembershipStatus
    WorkspaceRoleEffect:
      properties:
        org_id:
          type: string
          format: uuid
          title: Org Id
        org_name:
          type: string
          title: Org Name
        before_roles:
          items:
            type: string
          type: array
          title: Before Roles
        after_roles:
          items:
            type: string
          type: array
          title: After Roles
      type: object
      required:
      - org_id
      - org_name
      - before_roles
      - after_roles
      title: WorkspaceRoleEffect
    OrganizationWorkspaceReview:
      properties:
        role_effects:
          items:
            $ref: '#/components/schemas/WorkspaceRoleEffect'
          type: array
          title: Role Effects
        preview_hash:
          type: string
          pattern: ^[a-f0-9]{64}$
          title: Preview Hash
        summary:
          type: string
          title: Summary
        affected_organizations:
          items:
            type: string
          type: array
          title: Affected Organizations
        changes:
          oneOf:
          - $ref: '#/components/schemas/CreateOrganization'
          - $ref: '#/components/schemas/ConfigureOrganization'
          - $ref: '#/components/schemas/EditMembership'
          - $ref: '#/components/schemas/EditRelationship'
          - $ref: '#/components/schemas/OrganizationLifecycle'
          - $ref: '#/components/schemas/PlayerOrganizationBlock'
          title: Changes
          discriminator:
            propertyName: action
            mapping:
              block: '#/components/schemas/PlayerOrganizationBlock'
              configure: '#/components/schemas/ConfigureOrganization'
              create: '#/components/schemas/CreateOrganization'
              lifecycle: '#/components/schemas/OrganizationLifecycle'
              membership: '#/components/schemas/EditMembership'
              relationship: '#/components/schemas/EditRelationship'
        before:
          additionalProperties: true
          type: object
          title: Before
      type: object
      required:
      - role_effects
      - preview_hash
      - summary
      - affected_organizations
      - changes
      - before
      title: OrganizationWorkspaceReview
    EditRelationship:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        action:
          type: string
          const: relationship
          title: Action
        org_id:
          type: string
          format: uuid
          title: Org Id
        parent_id:
          type: string
          format: uuid
          title: Parent Id
        child_id:
          type: string
          format: uuid
          title: Child Id
        edge_type:
          $ref: '#/components/schemas/EdgeType'
        remove:
          type: boolean
          title: Remove
          default: false
      additionalProperties: false
      type: object
      required:
      - reason
      - action
      - org_id
      - parent_id
      - child_id
      - edge_type
      title: EditRelationship
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkspaceRelationship:
      properties:
        parent_id:
          type: string
          format: uuid
          title: Parent Id
        parent_name:
          type: string
          title: Parent Name
        child_id:
          type: string
          format: uuid
          title: Child Id
        child_name:
          type: string
          title: Child Name
        edge_type:
          type: string
          title: Edge Type
      type: object
      required:
      - parent_id
      - parent_name
      - child_id
      - child_name
      - edge_type
      title: WorkspaceRelationship
    MembershipRole:
      type: string
      enum:
      - player
      - event_director
      - org_admin
      - league_admin
      - multi_club_admin
      - governing_body_admin
      - superadmin
      title: MembershipRole
      description: Default role bundles — org admins can create custom roles at enterprise tier.
    ConfigureOrganization:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        name:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 2
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
          title: Description
        is_public:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Public
        requires_approval:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Requires Approval
        timezone:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Timezone
        administrator_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Administrator Id
        contact_player_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Contact Player Id
        action:
          type: string
          const: configure
          title: Action
        org_id:
          type: string
          format: uuid
          title: Org Id
        logo_url:
          anyOf:
          - type: string
            maxLength: 500
            pattern: ^https://
          - type: 'null'
          title: Logo Url
        guest_policy:
          anyOf:
          - type: string
            enum:
            - open
            - limited
            - restricted
          - type: 'null'
          title: Guest Policy
        access_model:
          anyOf:
          - type: string
            enum:
            - private
            - semi_private
            - public
          - type: 'null'
          title: Access Model
        dues_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Dues Enabled
        guest_max_visits:
          anyOf:
          - type: integer
            maximum: 10000.0
            minimum: 0.0
          - type: 'null'
          title: Guest Max Visits
        guest_visit_period:
          anyOf:
          - type: string
            enum:
            - annual
            - seasonal
            - lifetime
          - type: 'null'
          title: Guest Visit Period
        guest_special_events_exempt:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Guest Special Events Exempt
        default_require_score_verification:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Default Require Score Verification
      additionalProperties: false
      type: object
      required:
      - reason
      - action
      - org_id
      title: ConfigureOrganization
    WorkspaceDefinition:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        entity_type:
          type: string
          title: Entity Type
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        logo_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Logo Url
        timezone:
          anyOf:
          - type: string
          - type: 'null'
          title: Timezone
        administrator_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Administrator Id
        administrator_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Administrator Name
        contact_player_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Contact Player Id
        contact_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Contact Name
        is_public:
          type: boolean
          title: Is Public
        requires_approval:
          type: boolean
          title: Requires Approval
        is_active:
          type: boolean
          title: Is Active
        archived_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Archived At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        join_fee:
          anyOf:
          - type: number
          - type: 'null'
          title: Join Fee
        access_model:
          type: string
          title: Access Model
        dues_enabled:
          type: boolean
          title: Dues Enabled
        guest_policy:
          anyOf:
          - type: string
          - type: 'null'
          title: Guest Policy
        guest_max_visits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Guest Max Visits
        guest_visit_period:
          anyOf:
          - type: string
          - type: 'null'
          title: Guest Visit Period
        guest_special_events_exempt:
          type: boolean
          title: Guest Special Events Exempt
        default_require_score_verification:
          type: boolean
          title: Default Require Score Verification
      type: object
      required:
      - id
      - entity_type
      - name
      - slug
      - description
      - logo_url
      - timezone
      - administrator_id
      - administrator_name
      - contact_player_id
      - contact_name
      - is_public
      - requires_approval
      - is_active
      - archived_at
      - updated_at
      - join_fee
      - access_model
      - dues_enabled
      - guest_policy
      - guest_max_visits
      - guest_visit_period
      - guest_special_events_exempt
      - default_require_score_verification
      title: WorkspaceDefinition
    EdgeType:
      type: string
      enum:
      - contains
      - affiliated
      - venue
      title: EdgeType
    OrganizationWorkspaceReceipt:
      properties:
        status:
          type: string
          enum:
          - created
          - pending_review
          - applied
          title: Status
        org_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Org Id
        request_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Request Id
      type: object
      required:
      - status
      - org_id
      title: OrganizationWorkspaceReceipt
    EditMembership:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        action:
          type: string
          const: membership
          title: Action
        org_id:
          type: string
          format: uuid
          title: Org Id
        player_id:
          type: string
          format: uuid
          title: Player Id
        role:
          $ref: '#/components/schemas/MembershipRole'
        status:
          $ref: '#/components/schemas/MembershipStatus'
        starts_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Starts At
        role_expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Role Expires At
        membership_expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Membership Expires At
        after_role:
          type: string
          enum:
          - previous
          - player
          title: After Role
          default: player
      additionalProperties: false
      type: object
      required:
      - reason
      - action
      - org_id
      - player_id
      - role
      - status
      title: EditMembership
    CreateOrganization:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        name:
          type: string
          maxLength: 200
          minLength: 2
          title: Name
        description:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
          title: Description
        is_public:
          type: boolean
          title: Is Public
          default: false
        requires_approval:
          type: boolean
          title: Requires Approval
          default: true
        timezone:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Timezone
        action:
          type: string
          const: create
          title: Action
        entity_type:
          $ref: '#/components/schemas/EntityType'
        administrator_id:
          type: string
          format: uuid
          title: Administrator Id
      additionalProperties: false
      type: object
      required:
      - reason
      - name
      - action
      - entity_type
      - administrator_id
      title: CreateOrganization
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PlayerOrganizationBlock:
      properties:
        reason:
          type: string
          maxLength: 500
          minLength: 3
          title: Reason
        preview_hash:
          anyOf:
          - type: string
            pattern: ^[a-f0-9]{64}$
          - type: 'null'
          title: Preview Hash
        action:
          type: string
          const: block
          title: Action
        player_id:
          type: string
          format: uuid
          title: Player Id
        org_id:
          type: string
          format: uuid
          title: Org Id
        blocked:
          type: boolean
          title: Blocked
      additionalProperties: false
      type: object
      required:
      - reason
      - action
      - player_id
      - org_id
      - blocked
      title: PlayerOrganizationBlock
    OrganizationWorkspaceView:
      properties:
        organization:
          $ref: '#/components/schemas/WorkspaceDefinition'
        assignable_roles:
          items:
            type: string
          type: array
          title: Assignable Roles
        members:
          items:
            $ref: '#/components/schemas/WorkspaceMembership'
          type: array
          title: Members
        relationships:
          items:
            $ref: '#/components/schemas/WorkspaceRelationship'
          type: array
          title: Relationships
        history:
          items:
            $ref: '#/components/schemas/WorkspaceEvent'
          type: array
          title: History
        offset:
          type: integer
          title: Offset
        limit:
          type: integer
          title: Limit
      type: object
      required:
      - organization
      - assignable_roles
      - members
      - relationships
      - history
      - offset
      - limit
      title: OrganizationWorkspaceView
    WorkspaceMembershipList:
      properties:
        items:
          items:
            $ref: '#/components/schemas/WorkspaceMembership'
          type: array
          title: Items
        offset:
          type: integer
          title: Offset
        limit:
          type: integer
          title: Limit
      type: object
      required:
      - items
      - offset
      - limit
      title: WorkspaceMembershipList
    WorkspaceMembership:
      properties:
        player_id:
          type: string
          format: uuid
          title: Player Id
        player_name:
          type: string
          title: Player Name
        org_id:
          type: string
          format: uuid
          title: Org Id
        org_name:
          type: string
          title: Org Name
        entity_type:
          type: string
          title: Entity Type
        inherited:
          type: boolean
          title: Inherited
        blocked:
          type: boolean
          title: Blocked
        source_org_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Source Org Id
        source_org_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Org Name
        role:
          anyOf:
          - type: string
          - type: 'null'
          title: Role
        status:
          type: string
          title: Status
        configured_role:
          anyOf:
          - type: string
          - type: 'null'
          title: Configured Role
        configured_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Configured Status
        after_role:
          anyOf:
          - type: string
          - type: 'null'
          title: After Role
        fallback_role:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallback Role
        starts_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Starts At
        membership_expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Membership Expires At
        role_expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Role Expires At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - player_id
      - player_name
      - org_id
      - org_name
      - entity_type
      - inherited
      - blocked
      - source_org_id
      - source_org_name
      - role
      - status
      title: WorkspaceMembership
    WorkspaceEvent:
      properties:
        actor_name:
          type: string
          title: Actor Name
        actor_id:
          type: string
          format: uuid
          title: Actor Id
        action:
          type: string
          title: Action
        reason:
          type: string
          title: Reason
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        before:
          additionalProperties: true
          type: object
          title: Before
        after:
          additionalProperties: true
          type: object
          title: After
      type: object
      required:
      - actor_name
      - actor_id
      - action
      - reason
      - occurred_at
      - before
      - after
      title: WorkspaceEvent
    EntityType:
      type: string
      enum:
      - individual
      - group
      - outing
      - club
      - league
      - tour
      - multi_club
      - governing_body
      title: EntityType
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer