TeamOhana SCIM API
The SCIM API from TeamOhana — 3 operation(s) for scim.
The SCIM API from TeamOhana — 3 operation(s) for scim.
openapi: 3.1.0
info:
title: TeamOhana Public Discovery SCIM API
description: 'Refer to the [API FAQ](/faq) for more details on the usage.
Note: API keys for the SCIM API and the Headcount API are different. Please make sure you are using the right keys.'
version: '1.0'
termsOfService: https://www.teamohana.com/terms-and-conditions
security:
- Authorization: []
tags:
- name: SCIM
paths:
/{domain}/ServiceProviderConfig:
get:
parameters:
- name: domain
in: path
description: ''
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig
type: string
authenticationSchemes:
type: array
items:
type: object
properties:
type:
enum:
- httpdigest
- oauth2
- httpbasic
- oauthbearertoken
- oauth
type: string
name:
type: string
description:
type: string
specUri:
type: string
documentationUri:
type: string
required:
- type
- name
- description
sort:
type: object
properties:
supported:
type: boolean
required:
- supported
title: ohana.common.schemas.scim.service-prodvider/sort
changePassword:
type: object
properties:
supported:
type: boolean
required:
- supported
title: ohana.common.schemas.scim.service-prodvider/changePassword
patch:
type: object
properties:
supported:
type: boolean
required:
- supported
title: ohana.common.schemas.scim.service-prodvider/patch
filter:
type: object
properties:
supported:
type: boolean
maxResults:
type: integer
format: int64
required:
- supported
- maxResults
title: ohana.common.schemas.scim.service-prodvider/filter
etag:
type: object
properties:
supported:
type: boolean
required:
- supported
title: ohana.common.schemas.scim.service-prodvider/etag
documentationUri:
type: string
bulk:
type: object
properties:
supported:
type: boolean
maxOperations:
type: integer
format: int64
maxPayloadSize:
type: integer
format: int64
required:
- supported
- maxOperations
- maxPayloadSize
title: ohana.common.schemas.scim.service-prodvider/bulk
required:
- authenticationSchemes
- bulk
- changePassword
- etag
- filter
- patch
- schemas
- sort
'500':
description: ''
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
required:
- status
- detail
- schemas
title: ohana.public-api.web.routes.all/scim-error
tags:
- SCIM
summary: Fetch server capabilities
description: This API is used to figure out all the SCIM features supported by us. Currently all the features except changePassword are unsupported and the supported authentication scheme is basic auth.
/{domain}/Users/{id}:
get:
parameters:
- name: id
in: path
description: ''
required: true
schema:
type: string
- name: domain
in: path
description: ''
required: true
schema:
type: string
responses:
'404':
description: No such resource found. Please check the id or filters again.
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
required:
- status
- detail
- schemas
title: ohana.public-api.web.routes.all/scim-error
'400':
description: Request does not conform to the SCIM standard. Check for typos or missing fields.
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
scimType:
enum:
- invalidSyntax
- noTarget
- invalidValue
- invalidPath
- sensitive
- invalidFilter
- uniqueness
- tooMany
- mutability
- invalidVers
type: string
required:
- detail
- schemas
- status
'500':
description: Something went wrong at TeamOhana. Please contact support.
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
required:
- status
- detail
- schemas
title: ohana.public-api.web.routes.all/scim-error
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
entitlements:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
profileUrl:
type: string
schemas: {}
nickname:
type: string
preferredLanguage:
type: string
ims:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
timezone:
type: string
displayName:
type: string
id:
type: string
userType:
type: string
name:
type: object
properties:
formatted:
type: string
familyName:
type: string
givenName:
type: string
middleName:
type: string
honorificPrefix:
type: string
honorificSuffix:
type: string
title: ohana.common.schemas.scim.user/name
locale:
type: string
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
type: object
additionalProperties: {}
title: ohana.common.schemas.scim.user/urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
userName:
type: string
addresses:
type: array
items:
type: object
properties:
primary:
type: boolean
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
formatted:
type: string
streetAddress:
type: string
locality:
type: string
region:
type: string
postalCode:
type: string
country:
type: string
title:
type: string
meta:
type: object
properties:
resourceType:
enum:
- user
type: string
created:
type: string
format: date-time
lastModified:
type: string
format: date-time
location:
type: string
version:
type: string
format: uuid
required:
- resourceType
- created
- lastModified
- location
- version
title: ohana.common.schemas.scim.common/meta
password:
type: string
photos:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
x509Certificates:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
emails:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
active:
type: boolean
phoneNumbers:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
roles:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
- teamohana
type: string
- type: 'null'
$ref:
type: string
title: ohana.common.schemas.scim.user/role
groups:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
externalId:
type: string
required:
- id
- meta
- schemas
- userName
tags:
- SCIM
summary: Fetch a user
description: Given an id return all the fields stored by TeamOhana. As per SCIM specification passwords will not be returned.
put:
parameters:
- name: id
in: path
description: ''
required: true
schema:
type: string
- name: domain
in: path
description: ''
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
entitlements:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
profileUrl:
type: string
schemas: {}
nickname:
type: string
preferredLanguage:
type: string
ims:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
timezone:
type: string
displayName:
type: string
userType:
type: string
name:
type: object
properties:
formatted:
type: string
familyName:
type: string
givenName:
type: string
middleName:
type: string
honorificPrefix:
type: string
honorificSuffix:
type: string
title: ohana.common.schemas.scim.user/name
locale:
type: string
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
type: object
additionalProperties: {}
title: ohana.common.schemas.scim.user/urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
userName:
type: string
addresses:
type: array
items:
type: object
properties:
primary:
type: boolean
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
formatted:
type: string
streetAddress:
type: string
locality:
type: string
region:
type: string
postalCode:
type: string
country:
type: string
title:
type: string
password:
type: string
photos:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
x509Certificates:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
emails:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
active:
type: boolean
phoneNumbers:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
roles:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
- teamohana
type: string
- type: 'null'
$ref:
type: string
title: ohana.common.schemas.scim.user/role
groups:
type: array
items:
type: object
properties:
value:
oneOf:
- type: string
- type: 'null'
primary:
type: boolean
display:
type: string
type:
oneOf:
- enum:
- ''
- home
- work
- other
type: string
- type: 'null'
$ref:
type: string
required:
- value
required:
- schemas
- userName
title: ohana.common.schemas.scim.user/user
responses:
'404':
description: No such resource found. Please check the id or filters again.
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
required:
- status
- detail
- schemas
title: ohana.public-api.web.routes.all/scim-error
'400':
description: Request does not conform to the SCIM standard. Check for typos or missing fields.
content:
application/json:
schema:
type: object
properties:
status:
enum:
- 307
- 401
- 412
- 308
- 500
- 501
- 413
- 404
- 409
- 400
- 403
type: string
detail:
type: string
schemas:
type: array
items:
enum:
- urn:ietf:params:scim:api:messages:2.0:Error
type: string
scimType:
enum:
- invalidSyntax
- noTarget
- invalidValue
- invalidPath
- sensitive
- invalidFilter
- un
# --- truncated at 32 KB (88 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/teamohana/refs/heads/main/openapi/teamohana-scim-api-openapi.yml