Skip to content

Commit

Permalink
Update security authentication details
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-traciporter authored and becomevocal committed Oct 3, 2024
1 parent 8eed9d3 commit f141b70
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions docs/b2b-edition/specs/storefront/storefront/company.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
servers:
- url: 'https://api-b2b.bigcommerce.com/api/v2'
security:
- authToken: []
- BearerToken: []
paths:
/frontend/companies:
post:
Expand Down Expand Up @@ -219,8 +219,6 @@ paths:
description: |-
Get company extra fields.
Equivalent Storefront GraphQL API Query: `companyExtraFields`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).
security:
- authToken: []
parameters: []
'/customers/{userId}/companies':
get:
Expand Down Expand Up @@ -373,8 +371,6 @@ paths:
summary: Get Company by User ID
tags:
- Company
security:
- authToken: []
parameters:
- schema:
type: string
Expand Down Expand Up @@ -483,8 +479,6 @@ paths:
userRole: 1
tags:
- Company
security:
- authToken: []
get:
summary: Get Company User List
operationId: get-companies-companyId-users
Expand Down Expand Up @@ -683,8 +677,6 @@ paths:
description: 'User role, 0: Admin, 1:Senior Buyer, 2: Junior Buyer'
tags:
- Company
security:
- authToken: []
'/companies/validations/frontend/user-emails/{email}':
parameters:
- schema:
Expand Down Expand Up @@ -4122,8 +4114,6 @@ paths:
Equivalent Storefront GraphQL API Mutation: `addressDelete`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).
tags:
- Company
security:
- authToken: []
'/companies/{companyId}/default-addresses':
parameters:
- schema:
Expand Down Expand Up @@ -5027,9 +5017,13 @@ paths:
components:
schemas: {}
securitySchemes:
authToken:
name: authToken
description: Include the `authToken` in a header parameter.
BearerToken:
name: BearerToken
description: |-
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
|`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| Obtained using the [BigCommerce Current Customer API](/docs/rest-authentication/current-customer) endpoint. |
type: apiKey
in: header
tags:
Expand Down

0 comments on commit f141b70

Please sign in to comment.