Skip to content

Commit 5d8613e

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 d99ae38 commit 5d8613e

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
@@ -15600,6 +15600,25 @@ components:
1560015600
example: https://picsum.photos/200/300
1560115601
team_priority_level:
1560215602
"$ref": "#/components/schemas/team_priority_level"
15603+
role:
15604+
type: object
15605+
nullable: true
15606+
description: The role assigned to this admin. Only present if the admin has
15607+
a role assigned.
15608+
properties:
15609+
type:
15610+
type: string
15611+
description: String representing the object's type. Always has the value
15612+
`role`.
15613+
example: role
15614+
id:
15615+
type: string
15616+
description: The id of the role.
15617+
example: '1'
15618+
name:
15619+
type: string
15620+
description: The name of the role.
15621+
example: Support Agent
1560315622
admin_list:
1560415623
title: Admins
1560515624
type: object
@@ -15828,6 +15847,25 @@ components:
1582815847
description: Identifies if this admin's email is verified.
1582915848
nullable: true
1583015849
example: true
15850+
role:
15851+
type: object
15852+
nullable: true
15853+
description: The role assigned to this admin. Only present if the admin has
15854+
a role assigned.
15855+
properties:
15856+
type:
15857+
type: string
15858+
description: String representing the object's type. Always has the value
15859+
`role`.
15860+
example: role
15861+
id:
15862+
type: string
15863+
description: The id of the role.
15864+
example: '1'
15865+
name:
15866+
type: string
15867+
description: The name of the role.
15868+
example: Support Agent
1583115869
app:
1583215870
"$ref": "#/components/schemas/app"
1583315871
nullable: true

0 commit comments

Comments
 (0)