Skip to content

Commit f82a9a5

Browse files
docs: Add role property to admin and admin_with_app schemas
Add role object (type, id, name) to the admin API response schemas in the Unstable OpenAPI spec. Corresponds to intercom/intercom#470909. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5060b50 commit f82a9a5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15633,6 +15633,25 @@ components:
1563315633
example: https://picsum.photos/200/300
1563415634
team_priority_level:
1563515635
"$ref": "#/components/schemas/team_priority_level"
15636+
role:
15637+
type: object
15638+
nullable: true
15639+
description: The role assigned to this admin. Only present if the admin has
15640+
a role assigned.
15641+
properties:
15642+
type:
15643+
type: string
15644+
description: String representing the object's type. Always has the value
15645+
`role`.
15646+
example: role
15647+
id:
15648+
type: string
15649+
description: The id of the role.
15650+
example: '1'
15651+
name:
15652+
type: string
15653+
description: The name of the role.
15654+
example: Support Agent
1563615655
admin_list:
1563715656
title: Admins
1563815657
type: object
@@ -15861,6 +15880,25 @@ components:
1586115880
description: Identifies if this admin's email is verified.
1586215881
nullable: true
1586315882
example: true
15883+
role:
15884+
type: object
15885+
nullable: true
15886+
description: The role assigned to this admin. Only present if the admin has
15887+
a role assigned.
15888+
properties:
15889+
type:
15890+
type: string
15891+
description: String representing the object's type. Always has the value
15892+
`role`.
15893+
example: role
15894+
id:
15895+
type: string
15896+
description: The id of the role.
15897+
example: '1'
15898+
name:
15899+
type: string
15900+
description: The name of the role.
15901+
example: Support Agent
1586415902
app:
1586515903
"$ref": "#/components/schemas/app"
1586615904
nullable: true

0 commit comments

Comments
 (0)