- Update the group profile schema
- okta.schemas.manage
- API_ACCESS_MANAGEMENT_ADMIN
- APP_ADMIN
- ORG_ADMIN
- okta.apps.manage
Updates the group profile schema. This updates, adds, or removes one or more custom profile properties in a group schema. Currently Okta does not support changing base group profile properties.
Note: You must set properties explicitly to
nullto remove them from the schema; otherwise,POSTis interpreted as a partial update.
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.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/meta/schemas/group/default
curl -i -X POST \
https://subdomain.okta.com/api/v1/meta/schemas/group/default \
-H 'Content-Type: application/json' \
-d '{
"definitions": {
"custom": {
"id": "#custom",
"type": "object",
"properties": {
"groupContact": {
"title": "Group administrative contact",
"description": "Group administrative contact",
"type": "string",
"required": false,
"minLength": 1,
"maxLength": 20,
"permissions": [
{
"principal": "SELF",
"action": "READ_WRITE"
}
]
}
},
"required": []
}
}
}'successful operation
Type of root schema
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
{ "Response with a subset of properties for brevity": { "$ref": "../components.yaml#/components/examples/GroupSchemaResponse" } }