Memos API
UserService
复制页面
Memos API
AuthService
SignIn signs in the user with the given username and password.
POST
SignInWithSSO signs in the user with the given SSO code.
POST
SignOut signs out the user.
POST
SignUp signs up the user with the given username and password.
POST
GetAuthStatus returns the current auth status of the user.
POST
IdentityProviderService
ListIdentityProviders lists identity providers.
GET
CreateIdentityProvider creates an identity provider.
POST
UpdateIdentityProvider updates an identity provider.
PATCH
DeleteIdentityProvider deletes an identity provider.
DELETE
GetIdentityProvider gets an identity provider.
GET
InboxService
ListInboxes lists inboxes for a user.
UpdateInbox updates an inbox.
DeleteInbox deletes an inbox.
MarkdownService
GetLinkMetadata returns metadata for a given link.
RestoreMarkdownNodes restores the given nodes to markdown content.
StringifyMarkdownNodes stringify the given nodes to plain text content.
ParseMarkdown parses the given markdown content and returns a list of nodes.
MemoService
ListMemos lists memos with pagination and filter.
CreateMemo creates a memo.
DeleteMemoReaction deletes a reaction for a memo.
UpdateMemo updates a memo.
GetMemo gets a memo.
DeleteMemo deletes a memo.
ListMemoComments lists comments for a memo.
CreateMemoComment creates a comment for a memo.
ListMemoReactions lists reactions for a memo.
UpsertMemoReaction upserts a reaction for a memo.
ListMemoRelations lists relations for a memo.
SetMemoRelations sets relations for a memo.
ListMemoResources lists resources for a memo.
SetMemoResources sets resources for a memo.
ListMemos lists memos with pagination and filter.
DeleteMemoTag deletes a tag for a memo.
RenameMemoTag renames a tag for a memo.
ResourceService
ListResources lists all resources.
CreateResource creates a new resource.
GetResource returns a resource by name.
DeleteResource deletes a resource by name.
UpdateResource updates a resource.
GetResourceBinary returns a resource binary by name.
UserService
ListUsers returns a list of users.
GET
CreateUser creates a new user.
POST
ListAllUserStats returns all user stats.
POST
GetUserByUsername gets a user by username.
GET
GetUser gets a user by name.
GET
DeleteUser deletes a user.
DELETE
ListUserAccessTokens returns a list of access tokens for a user.
GET
CreateUserAccessToken creates a new access token for a user.
POST
DeleteUserAccessToken deletes an access token for a user.
DELETE
GetUserSetting gets the setting of a user.
GET
GetUserStats returns the stats of a user.
GET
ListShortcuts returns a list of shortcuts for a user.
GET
CreateShortcut creates a new shortcut for a user.
POST
DeleteShortcut deletes a shortcut for a user.
DELETE
UpdateShortcut updates a shortcut for a user.
PATCH
UpdateUserSetting updates the setting of a user.
PATCH
UpdateUser updates a user.
PATCH
GetUserAvatarBinary gets the avatar of a user.
GET
WebhookService
ListWebhooks returns a list of webhooks.
CreateWebhook creates a new webhook.
GetWebhook returns a webhook by id.
DeleteWebhook deletes a webhook by id.
UpdateWebhook updates a webhook.
WorkspaceService
GetWorkspaceProfile returns the workspace profile.
WorkspaceSettingService
GetWorkspaceSetting returns the setting by name.
SetWorkspaceSetting updates the setting.
ActivityService
GetActivity returns the activity with the given id.
UserService
复制页面
DeleteUserAccessToken deletes an access token for a user.
DELETE
/api/v1/{name}/access_tokens/{accessToken}
调试
Run in Apifox
Run in Apifox
请求参数
Path 参数
生成代码
name
string
必需
The name of the user.
正则匹配:
users/[^/]+
accessToken
string
必需
access_token is the access token to delete.
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例
请求示例
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
DELETE
'/api/v1//access_tokens/'
返回响应
🟢
200
成功
application/json
A successful response.
Body
生成代码
object
{0}
示例
{
}
🔴
500
服务器错误
修改于
2025-03-15 17:43:05
上一页
CreateUserAccessToken creates a new access token for a user.
下一页
GetUserSetting gets the setting of a user.