1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
OpenIntegrations/docs/en/examples/Notion/EditDatabaseProperties.txt

13 lines
480 B
Plaintext

Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "5dd94c34fab04bff9...";
Title = "Updated title";
Description = "Updated base description";
Properties = New Map;
Properties.Insert("Email", "rich_text"); //Type fields "Email" will changed with email to text
Properties.Insert("Website"); //Field "Website" will deleted
Response = OPI_Notion.EditDatabaseProperties(Token, Base, Properties, Title, Description);
Response = OPI_Tools.JSONString(Response);