1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-07-05 00:58:52 +02:00
Files
OpenIntegrations/docs/en/md/Notion/Users/User-list.md

42 lines
649 B
Markdown
Raw Normal View History

---
sidebar_position: 1
---
# User list
Returns a list of workspace users
2024-07-10 13:58:29 +03:00
`Function UserList(Val Token) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
Returns: Map Of KeyAndValue - Serialized JSON response from Notion
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03:00
```bsl title="Code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Response = OPI_Notion.UserList(Token);
Response = OPI_Tools.JSONString(Response);
```
```sh title="CLI command example"
oint notion UserList --token "secret_9RsfMrRMqZwqp0Zl0B..."
```
```json title="Result"
2024-10-02 09:14:30 +03:00
```