Skip to content

Retrieve the default group schema

Request

OAuth 2.0 scope:
  • okta.schemas.read
Admin roles:
  • API_ACCESS_MANAGEMENT_ADMIN
  • APP_ADMIN
  • ORG_ADMIN
Permissions:
  • okta.apps.manage

Retrieves the group schema

The User Types feature does not extend to groups. All groups use the same group schema. Unlike user schema operations, group schema operations all specify default and don't accept a schema ID.

curl -i -X GET \
  https://subdomain.okta.com/api/v1/meta/schemas/group/default

Responses

successful operation

Bodyapplication/json
$schemastringread-only

JSON schema version identifier

createdstringread-only

Timestamp when the schema was created

definitionsobject(GroupSchemaDefinitions)
descriptionstring

Description for the schema

idstringread-only

URI of group schema

lastUpdatedstringread-only

Timestamp when the schema was last updated

namestringread-only

Name of the schema

propertiesobject(UserSchemaProperties)

Group object properties

titlestring

User-defined display name for the schema

typestringread-only

Type of root schema

Response
{ "$schema": "http://json-schema.org/draft-04/schema#", "_links": { "self": { … } }, "created": "2021-01-30T00:18:24.000Z", "definitions": { "base": { … }, "custom": { … } }, "description": "Okta group profile template", "id": "https://{yourOktaDomain}/meta/schemas/group/default", "lastUpdated": "2021-02-25T23:05:31.000Z", "name": "group", "properties": { "profile": { … } }, "title": "Okta group", "type": "object" }